Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / June 2007

Tip: Looking for answers? Try searching our database.

How can I make a blank cell in a formula cell with a range of cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vi - 21 Jun 2007 14:17 GMT
Example:  I have a column of numbers I want to add E2:E20 with the total in
E21.  If there are no numbers in E2-E20, how can I make E21 to be blank
instead of showing a zero?
Thanks
Max - 21 Jun 2007 14:20 GMT
One way ..

In E21:
=IF(COUNT(E2:E20),SUM(E2:E20),"")
Signature

Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

> Example:  I have a column of numbers I want to add E2:E20 with the total in
> E21.  If there are no numbers in E2-E20, how can I make E21 to be blank
> instead of showing a zero?
> Thanks
Mike H - 21 Jun 2007 14:21 GMT
Try this in E21

=IF(SUM(E1:E20)>0,SUM(E1:E20),"")

Mike

> Example:  I have a column of numbers I want to add E2:E20 with the total in
> E21.  If there are no numbers in E2-E20, how can I make E21 to be blank
> instead of showing a zero?
> Thanks
Vi - 21 Jun 2007 14:34 GMT
Thanks - it works

> Try this in E21
>
[quoted text clipped - 6 lines]
> > instead of showing a zero?
> > Thanks
Max - 21 Jun 2007 14:46 GMT
Admit I'm surprised you say it works, as that's not exactly what you asked
for, viz:

> .. If there are no numbers in E2-E20,
> how can I make E21 to be blank
> instead of showing a zero?
Signature

Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

> Thanks - it works
>
>> Try this in E21
>>
>> =IF(SUM(E1:E20)>0,SUM(E1:E20),"")
Vi - 21 Jun 2007 14:33 GMT
Thanks - it works.

> Example:  I have a column of numbers I want to add E2:E20 with the total in
> E21.  If there are no numbers in E2-E20, how can I make E21 to be blank
> instead of showing a zero?
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.