#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default IF0

I'm trying to have a cell left blank unless the SUM of the formula in that
cell 0
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default IF0

Just check the SUM first...

=IF(SUM(CellsToBeSummed)0,SUM(CellsToBeSummed),"" )

--
Rick (MVP - Excel)


"topdog5564" wrote in message
...
I'm trying to have a cell left blank unless the SUM of the formula in that
cell 0


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default IF0

hi
not too sure, you're a tad short on info but..
are you trying to do this with code or a formula?
if formula
=if(A1+B10, A1+B1,"")
if code then post back with your code AND more details.

Regards
FSt1

"topdog5564" wrote:

I'm trying to have a cell left blank unless the SUM of the formula in that
cell 0

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 489
Default IF0

If you want cells to be blank when a formula = 0 you can change a setting in
Excel 2007, just select Excel OptionsAdvanced and uncheck the "Show a Zero
in Cells That Have Zero Value" checkbox. If you have Excel 2003 I think its
under EditOptions or ToolsOptions, I can't remember.

If you just want that particular cell to be blank when its summed to 0 then
use Rick's or FSt1's formula.

Hope this helps! If so, click "YES" below.
--
Cheers,
Ryan


"topdog5564" wrote:

I'm trying to have a cell left blank unless the SUM of the formula in that
cell 0

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"