G
Gerrym
Cell appears to have nothing in it, but the result of
ISBLANK() is FALSE. Why is this.
ISBLANK() is FALSE. Why is this.
message news:[email protected]...-----Original Message-----
Hi Gerrym
maybe a space
In a other cell enter
=len(a1) to see if it is empty
--
Regards Ron de Bruin
http://www.rondebruin.nl
"Gerrym" <[email protected]> wrote in
If there is a ' in the cell Excel will not count it with the Len function.
...Try to use this macro to clean up your cells
Select the cells and run this macro
Sub TrimALL()
'David McRitchie 2000-07-03 mod 2000-08-16 join.htm
Harlan said:If there is a ' in the cell Excel will not count it with the Len function.
There are cases in which there's no ' in the cell, LEN(cell) = 0, and still
ISBLANK(cell) = FALSE. Enter ="" in a cell, copy, and paste special as value to
find one example. Nasty buggers.
..Try to use this macro to clean up your cells
Select the cells and run this macro
Sub TrimALL()
'David McRitchie 2000-07-03 mod 2000-08-16 join.htm
While the macro would work, it's not necessary. Select the range containing the
problem cells. Edit > Replace, in 'Find what' clear any existing entry, hold
down an [Alt] key and using the Numeric Keypad enter 0160, clear the 'Replace
with' entry, and click the 'Replace All' button. Then with the range still
selected, run Data > Text to Columns, choose Fixed Width in the first dialog and
*immediately* click the Finish button.
....Dave Peterson said:You can see the "hidden" apostrophe (prefixcharacter) by:
tools|options|Transition tab|checking Transition Navigation key.
....Dave Peterson said:It may not be safer if there are "text" numbers in that column. When
you're done, they'll be number numbers. Or if you have cells that have
character by character formatting.
....Jon Peltier said:So use IF(LEN(A1)=0 instead of IF(ISBLANK(A1).
Jon Peltier said:Harlan Grove wrote:
What would be the benefits of using IF(LEN(x)=0,...) rather than
IF(x="",...) ?