View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
KL KL is offline
external usenet poster
 
Posts: 201
Default If A1 is zero, A2 is blank

- if blank means EMPTY then it can't be achieved by formulas as it literally means EMPTY - no constants, no formulas (you'll need
macros for that)
- if blank means STRING OF ZERO LENGTH ("") then you can try the following formula in [A2]: =IF(A1=0,"",MyAlternative)
the string of 0 length looks like blank, but technically is not blank and behaves differently in most situations (not in all
though).

--
KL
[MVP - Microsoft Excel]
RU: http://www.mvps.ru/Program/Default.aspx
ES: http://mvp.support.microsoft.com/?LN=es-es
EN: http://mvp.support.microsoft.com/?LN=en-us
Profile: https://mvp.support.microsoft.com/pr...A-9E6C73C09A36


"woitena1" wrote in message ...
I am trying to make an adjacent cell blank if the related cell is zero. I
have tried conditional formatting and IF formatting, but I still can't get it
to work. Can someone tell me how to do this?