Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default How do I make a cell stay blank if "0" result?

I currently have the following formula.

=IF(ISERROR(COUNTIF(Clients!$AB:$AB,A33)),"",COUNT IF(Clients!$AB:$AB,A33))

This formula is repeated from Summary!D33 all the way to Summary!D65536
At this time, cell A33 is empty but will be populated later.
Also, Clients!$AB:$AB is empty, but will be populated over time.
Currently, I am getting a result of 65423, which is correct. There are in
fact 65423 empty cells in Clients!$AB:$AB.

I would like this cell to just stay blank (rather than show the number of
blank cells) until such time as the cells referenced are populated over time.

Is there anyway I can make this happen in this fashion?
--

Thank you,

Gregory
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How do I make a cell stay blank if "0" result?

How about: =IF(A33="","",COUNTIF(Clients!$AB:$AB,A33))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Gregory Day" wrote:
I currently have the following formula.

=IF(ISERROR(COUNTIF(Clients!$AB:$AB,A33)),"",COUNT IF(Clients!$AB:$AB,A33))

This formula is repeated from Summary!D33 all the way to Summary!D65536
At this time, cell A33 is empty but will be populated later.
Also, Clients!$AB:$AB is empty, but will be populated over time.
Currently, I am getting a result of 65423, which is correct. There are in
fact 65423 empty cells in Clients!$AB:$AB.

I would like this cell to just stay blank (rather than show the number of
blank cells) until such time as the cells referenced are populated over time.

Is there anyway I can make this happen in this fashion?
--

Thank you,

Gregory

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default How do I make a cell stay blank if "0" result?

Holy Cow! That was perfect. I always miss the obvious. Can you tell me how to
et the same answer on this one? What is happening here is that Excel is
calculating on those empty cells from the previous question. Excel sees an
empty cell as a "0" the calculation is, correctly, returning a "0" result. I
would rather the cell stay blank as well. I tried using the "" but, since 0
IS a valid answer, that is what I am getting.

=IF(ISERROR(SUM(SUMIF(Clients!$AB:$AB,Summary!A33, Clients!$AE:$AE),(SUMIF(Clients!$AB:$AB,Summary!A3 3,Clients!$AF:$AF)))),"",SUM(SUMIF(Clients!$AB:$AB ,Summary!A33,Clients!$AE:$AE),(SUMIF(Clients!$AB:$ AB,Summary!A33,Clients!$AF:$AF))))

How I make this leave the cell blank if the answer is "0"?

--
Thank you,

Gregory


"Max" wrote:

How about: =IF(A33="","",COUNTIF(Clients!$AB:$AB,A33))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Gregory Day" wrote:
I currently have the following formula.

=IF(ISERROR(COUNTIF(Clients!$AB:$AB,A33)),"",COUNT IF(Clients!$AB:$AB,A33))

This formula is repeated from Summary!D33 all the way to Summary!D65536
At this time, cell A33 is empty but will be populated later.
Also, Clients!$AB:$AB is empty, but will be populated over time.
Currently, I am getting a result of 65423, which is correct. There are in
fact 65423 empty cells in Clients!$AB:$AB.

I would like this cell to just stay blank (rather than show the number of
blank cells) until such time as the cells referenced are populated over time.

Is there anyway I can make this happen in this fashion?
--

Thank you,

Gregory

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How do I make a cell stay blank if "0" result?

A simple way out, if it's more just for a neat look in the sheet is to switch
off zeros display via clicking Tools Options View tab Uncheck "zero
values" ok

Otherwise, you could try inserting the IF check for zero returns,
indicatively like this in your formula:
=IF(ISERROR(SUM(...)),"",IF(SUM(...)=0,"",SUM(..)) )

Do press the "Yes" button from where you're reading this
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Gregory Day" wrote:
Holy Cow! That was perfect. I always miss the obvious. Can you tell me how to
et the same answer on this one? What is happening here is that Excel is
calculating on those empty cells from the previous question. Excel sees an
empty cell as a "0" the calculation is, correctly, returning a "0" result. I
would rather the cell stay blank as well. I tried using the "" but, since 0
IS a valid answer, that is what I am getting.

=IF(ISERROR(SUM(SUMIF(Clients!$AB:$AB,Summary!A33, Clients!$AE:$AE),(SUMIF(Clients!$AB:$AB,Summary!A3 3,Clients!$AF:$AF)))),"",SUM(SUMIF(Clients!$AB:$AB ,Summary!A33,Clients!$AE:$AE),(SUMIF(Clients!$AB:$ AB,Summary!A33,Clients!$AF:$AF))))

How I make this leave the cell blank if the answer is "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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Show a blank result in a cell when there is no value in the "Lookup" cell Michael Slater New Users to Excel 2 August 5th 07 08:08 PM
How create blank cell value as the result of Excel "IF" function? Pocket Protector as a Fashion Statement Excel Worksheet Functions 1 March 11th 07 07:44 PM
How to format a cell to make it blank if it's content is "N/A" Turk Excel Worksheet Functions 7 March 8th 07 02:19 PM
How to make number of "static" fields stay the same when copying? MrHaugen Excel Discussion (Misc queries) 2 July 11th 06 08:40 PM
Can you use a formula to make a truly "blank" cell Heidi Excel Worksheet Functions 4 January 23rd 06 10:47 PM


All times are GMT +1. The time now is 07:00 PM.

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"