View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Glenn Glenn is offline
external usenet poster
 
Posts: 1,240
Default What's wrong with this formula?

Ray wrote:
=IF(B270,+B27:B32-B28,"")
Want to add B27-B32 and subtract B28 if B27 is 0.
If not I want the cell to stay blank.
As soon as I enter a number in B27 the cell shows ###.
The cell is wide enough and the cell format is general.
Working only with numbers
Thanks


Do you mean this:


=IF(B270,SUM(B27:B32)-B28,"")