The information in this article applies to:
SUMMARY
The worksheet function CELL() in Microsoft Excel returns information
about the formatting, location, and contents of a given cell. However,
the formatting information ("width", "protect", "format", and
"prefix") will not be updated once the function is entered unless
other cell attributes (contents or location) are also changed.
MORE INFORMATION
For example, if you enter =CELL("format",B1) into cell A1, with B1
formatted as General, then change the number format of B1 to 0.00, A1
will still contain "G" (for General). Entering 3.50 into B1 will cause
A1 to update and display the correct value: "F2" (for Fixed 2
Decimal).
Additional query words: 1.0 1.00 1.03 1.04 1.06 1.5 1.50 2.2 2.20 3.0
Keywords : |
Last Reviewed: March 12, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |