#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default IF Formulas

I'm still relatively new to the formulas - can't do anything too complex yet
so this should be an easy one for all you experts out there.

I have cells that have basic Sum formula. If there is no value in any of
the preceding cells, the total cell shows $0.

I believe I can create a formula that says if the value is 0 then leave
blank. I don't want to see the $0.

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default IF Formulas

This says that if the sum of cells A1 through A10 equals zero, then return
nothing ( "" ), else return the sum of A1 through A10.

=IF(SUM(A1:A10)=0,"",SUM(A1:A10))

HTH,
Paul

--

"MrReeLady" wrote in message
...
I'm still relatively new to the formulas - can't do anything too complex
yet
so this should be an easy one for all you experts out there.

I have cells that have basic Sum formula. If there is no value in any of
the preceding cells, the total cell shows $0.

I believe I can create a formula that says if the value is 0 then leave
blank. I don't want to see the $0.

Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default IF Formulas

hi
replace your basic sum formaulas with this..
=if(Sum(A2:A10)=0,"",Sum(A2:A10))
or
=if(A9=0,"",A9)

lots of variations on this.

Regards
FSt1
"MrReeLady" wrote:

I'm still relatively new to the formulas - can't do anything too complex yet
so this should be an easy one for all you experts out there.

I have cells that have basic Sum formula. If there is no value in any of
the preceding cells, the total cell shows $0.

I believe I can create a formula that says if the value is 0 then leave
blank. I don't want to see the $0.

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default IF Formulas

If you want to show a blank if the total is zero, then you could use
=IF(SUM(A2:A100)=0,"",SUM(A2:A100)) but this would give a blank if you have
genuine numbers that sum to zero.

If you want a blank result if all the input cells are blank, then try
=IF(COUNT(A2:A100),SUM(A2:A100),"")
--
David Biddulph

"MrReeLady" wrote in message
...
I'm still relatively new to the formulas - can't do anything too complex
yet
so this should be an easy one for all you experts out there.

I have cells that have basic Sum formula. If there is no value in any of
the preceding cells, the total cell shows $0.

I believe I can create a formula that says if the value is 0 then leave
blank. I don't want to see the $0.

Thanks!



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default IF Formulas

If it is merely a display of the value "0" that you want to eliminate but
don't care if the content of the cell is "0" then under Tools\Options\View
uncheck the Zero values box
--
EarlyBirdie


"MrReeLady" wrote:

I'm still relatively new to the formulas - can't do anything too complex yet
so this should be an easy one for all you experts out there.

I have cells that have basic Sum formula. If there is no value in any of
the preceding cells, the total cell shows $0.

I believe I can create a formula that says if the value is 0 then leave
blank. I don't want to see the $0.

Thanks!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default IF Formulas

Thank you all for your quick response. I wish I understood the formulas
more...



"PCLIVE" wrote:

This says that if the sum of cells A1 through A10 equals zero, then return
nothing ( "" ), else return the sum of A1 through A10.

=IF(SUM(A1:A10)=0,"",SUM(A1:A10))

HTH,
Paul

--

"MrReeLady" wrote in message
...
I'm still relatively new to the formulas - can't do anything too complex
yet
so this should be an easy one for all you experts out there.

I have cells that have basic Sum formula. If there is no value in any of
the preceding cells, the total cell shows $0.

I believe I can create a formula that says if the value is 0 then leave
blank. I don't want to see the $0.

Thanks!




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


Similar Threads
Thread Thread Starter Forum Replies Last Post
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
lookup formulas dependent upon lookup formulas Skibee Excel Worksheet Functions 1 July 20th 07 01:06 PM
automatically copy formulas down columns or copy formulas all the HowlingBlue Excel Worksheet Functions 1 March 16th 07 11:11 PM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM
formulas for changing formulas? creativeops Excel Discussion (Misc queries) 4 January 26th 06 03:07 AM


All times are GMT +1. The time now is 03:42 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"