#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default want to erase the 0

I have a excel document that has a simple formula that adds three cells. A1,
A2, and A3. if blank if gives me a 0.00 in A4. I want it to return the cell
blank if there is nothing filled in for the three cells.

Thanks

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200809/1

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default want to erase the 0

Try,

=IF(COUNTA(A1:A3)0,SUM(A1:A3),"")

Mike

"Darrell_Sarrasin via OfficeKB.com" wrote:

I have a excel document that has a simple formula that adds three cells. A1,
A2, and A3. if blank if gives me a 0.00 in A4. I want it to return the cell
blank if there is nothing filled in for the three cells.

Thanks

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200809/1


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default want to erase the 0

thanks that worked great but now I have a second one that i am trying it with.
I have the answers below repeated for 11 rows to give me totals then I have a
grand total

if I do =if(COUNTA(A4:A14)0,SUM(A4:A14),"") it comes out with 0 as I use the
others to create the total. Any thoughts to that?

Mike H wrote:
Try,

=IF(COUNTA(A1:A3)0,SUM(A1:A3),"")

Mike

I have a excel document that has a simple formula that adds three cells. A1,
A2, and A3. if blank if gives me a 0.00 in A4. I want it to return the cell
blank if there is nothing filled in for the three cells.

Thanks


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200809/1

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default want to erase the 0

Try COUNT, rather than COUNTA, and then it won't count the text strings
(including the empty text strings).
--
David Biddulph

"Darrell_Sarrasin via OfficeKB.com" <u33691@uwe wrote in message
news:8a47b556100c5@uwe...
thanks that worked great but now I have a second one that i am trying it
with.
I have the answers below repeated for 11 rows to give me totals then I
have a
grand total

if I do =if(COUNTA(A4:A14)0,SUM(A4:A14),"") it comes out with 0 as I use
the
others to create the total. Any thoughts to that?

Mike H wrote:
Try,

=IF(COUNTA(A1:A3)0,SUM(A1:A3),"")

Mike

I have a excel document that has a simple formula that adds three cells.
A1,
A2, and A3. if blank if gives me a 0.00 in A4. I want it to return the
cell
blank if there is nothing filled in for the three cells.

Thanks


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200809/1



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default want to erase the 0

=counta() will count non-empty cells--even cells that contain formulas that
evaluate to an empty string ("").

Maybe you want to use
=if(count(a4:a14)0, ....

=count() only counts numbers.

"Darrell_Sarrasin via OfficeKB.com" wrote:

thanks that worked great but now I have a second one that i am trying it with.
I have the answers below repeated for 11 rows to give me totals then I have a
grand total

if I do =if(COUNTA(A4:A14)0,SUM(A4:A14),"") it comes out with 0 as I use the
others to create the total. Any thoughts to that?

Mike H wrote:
Try,

=IF(COUNTA(A1:A3)0,SUM(A1:A3),"")

Mike

I have a excel document that has a simple formula that adds three cells. A1,
A2, and A3. if blank if gives me a 0.00 in A4. I want it to return the cell
blank if there is nothing filled in for the three cells.

Thanks


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200809/1


--

Dave Peterson
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
erase page #1 momma Excel Discussion (Misc queries) 1 August 29th 07 09:34 PM
How to erase a column VBA Jepane Excel Discussion (Misc queries) 2 July 16th 07 02:26 PM
Erase Key in Legend Carlo Charts and Charting in Excel 5 August 30th 06 05:55 PM
how do I erase workbooks " J Dentner Excel Discussion (Misc queries) 1 April 4th 06 10:50 PM
Erase Duplicates John Excel Worksheet Functions 1 December 7th 05 05:16 PM


All times are GMT +1. The time now is 06:24 AM.

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

About Us

"It's about Microsoft Excel"