Page 61

30 EXCEL FUNCTIONS IN 30 DAYS – PAGE 58

o type…type of data in cell (empty, text, other) o width…Column width of cell

CELL Traps There are a few things to watch for when using the CELL function: • The CELL function's reference argument is optional, but if it is omitted, the result is returned for the last cell that was changed. To ensure that the result is what you expect, it's best to include a reference — you can refer to the cell that contains the CELL formula. • When using the CELL function, you may need to recalculate the worksheet to update the CELL formula result, if the cell is changed. • For the "filename" info_type, an empty string is returned if the workbook has not yet been saved.

Example 1: Cell's Number Format With the "format" value, you can use the CELL function to show the number format of a cell. For example, if cell B7 has General format, the result of this formula is "G", for General: =CELL("format",C2)

www.contextures.com

30 Excel Functions in 30 days  
30 Excel Functions in 30 days  
Advertisement