Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default How to replace a zero with "Not Available"

What is the function I need to do the above? Need this ASAP!!!!!!!!! Please
and thank you!!!!!!!!!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default How to replace a zero with "Not Available"

Select the column
Hit Ctrl+H

In the Find and Replace window

Click OptionsCheck 'Match entire cell contents'
Find What: 0
Replace with: Not Available

What happened to your previous post; to count instances more than zero.?

If this post helps click Yes
---------------
Jacob Skaria


"The Needy" wrote:

What is the function I need to do the above? Need this ASAP!!!!!!!!! Please
and thank you!!!!!!!!!!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default How to replace a zero with "Not Available"

The answer to your question depends on your setup... Do you have a formula
in the cell that is evaluating to zero? Or is the zero typed in by the user?
Do you want the cell to hold the value of zero, but simply display "Not
Available" to the user? The more details you give us, the better able
someone here can give you the answer you are looking for.

--
Rick (MVP - Excel)


"The Needy" wrote in message
...
What is the function I need to do the above? Need this ASAP!!!!!!!!!
Please
and thank you!!!!!!!!!!


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default How to replace a zero with "Not Available"

"The Needy" wrote:
Subject: How to replace a zero with "Not Available"
What is the function I need to do the above?


If you mean: how to display "Not Available" when the value of a cell is
zero, one way is to use the custom format General;-General;"Not Available".

However, note that the value of the cell will still be zero. So in a
comparison, you would write IF(A1=0,...,...), not IF(A1="Not
Available",...,...).

PS: For future reference, note that it is preferrable to at least repeat
the subject in the body of your message, if not expand upon it. In this
case, you terse question really is unclear and ambiguous.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default How to replace a zero with "Not Available"

I put this =IF(ISNA(COUNTIF('Store 1
Inventory'!$B$6:$B$36,B11)+COUNTIF('Store 2 Inventory'!$B$7:$B$34,B11)),"Not
Available",(COUNTIF('Store 1 Inventory'!$B$6:$B$36,B11)+COUNTIF('Store 2
Inventory'!$B$7:$B$34,B11))), but it still won't give me the "Not Available"
for the zeros...

"JoeU2004" wrote:

"The Needy" wrote:
Subject: How to replace a zero with "Not Available"
What is the function I need to do the above?


If you mean: how to display "Not Available" when the value of a cell is
zero, one way is to use the custom format General;-General;"Not Available".

However, note that the value of the cell will still be zero. So in a
comparison, you would write IF(A1=0,...,...), not IF(A1="Not
Available",...,...).

PS: For future reference, note that it is preferrable to at least repeat
the subject in the body of your message, if not expand upon it. In this
case, you terse question really is unclear and ambiguous.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default How to replace a zero with "Not Available"


"The Needy" wrote in message
...
I put this =IF(ISNA(COUNTIF('Store 1
Inventory'!$B$6:$B$36,B11)+COUNTIF('Store 2
Inventory'!$B$7:$B$34,B11)),"Not
Available",(COUNTIF('Store 1 Inventory'!$B$6:$B$36,B11)+COUNTIF('Store 2
Inventory'!$B$7:$B$34,B11))), but it still won't give me the "Not
Available"
for the zeros...

"JoeU2004" wrote:

"The Needy" wrote:
Subject: How to replace a zero with "Not Available"
What is the function I need to do the above?


If you mean: how to display "Not Available" when the value of a cell is
zero, one way is to use the custom format General;-General;"Not
Available".

However, note that the value of the cell will still be zero. So in a
comparison, you would write IF(A1=0,...,...), not IF(A1="Not
Available",...,...).

PS: For future reference, note that it is preferrable to at least repeat
the subject in the body of your message, if not expand upon it. In this
case, you terse question really is unclear and ambiguous.



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default How to replace a zero with "Not Available"

[Sorry for the previous misposting. Fat fingers!]

"The Needy" wrote:
I put this =IF(ISNA(COUNTIF('Store 1
Inventory'!$B$6:$B$36,B11)+COUNTIF('Store 2
Inventory'!$B$7:$B$34,B11)),"Not
Available",(COUNTIF('Store 1 Inventory'!$B$6:$B$36,B11)+COUNTIF('Store 2
Inventory'!$B$7:$B$34,B11))), but it still won't give me the "Not
Available"
for the zeros.


Why are you using ISNA()?

ISNA() is true only when its argument returns a #NA error. COUNTIF does
not; nor does the sum of the COUNTIFs.

I wonder if you want:

=IF(COUNTIF('Store 1 Inventory'!$B$6:$B$36,B11)+
COUNTIF('Store 2 Inventory'!$B$7:$B$34,B11) = 0,
"Not Available",
COUNTIF('Store 1 Inventory'!$B$6:$B$36,B11)+
COUNTIF('Store 2 Inventory'!$B$7:$B$34,B11))

Alternatively, you have simply:

=COUNTIF('Store 1 Inventory'!$B$6:$B$36,B11)+
COUNTIF('Store 2 Inventory'!$B$7:$B$34,B11)

formatted with the custom format General;-General;"Not Available".

However, as noted previously, if you want to test this cell for "Not
Available" elsewhere, you would write IF(A1=0,1,2) instead of IF(A1="Not
Available",1,2).


----- original message -----

"The Needy" wrote in message
...
I put this =IF(ISNA(COUNTIF('Store 1
Inventory'!$B$6:$B$36,B11)+COUNTIF('Store 2
Inventory'!$B$7:$B$34,B11)),"Not
Available",(COUNTIF('Store 1 Inventory'!$B$6:$B$36,B11)+COUNTIF('Store 2
Inventory'!$B$7:$B$34,B11))), but it still won't give me the "Not
Available"
for the zeros...

"JoeU2004" wrote:

"The Needy" wrote:
Subject: How to replace a zero with "Not Available"
What is the function I need to do the above?


If you mean: how to display "Not Available" when the value of a cell is
zero, one way is to use the custom format General;-General;"Not
Available".

However, note that the value of the cell will still be zero. So in a
comparison, you would write IF(A1=0,...,...), not IF(A1="Not
Available",...,...).

PS: For future reference, note that it is preferrable to at least repeat
the subject in the body of your message, if not expand upon it. In this
case, you terse question really is unclear and ambiguous.



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
"Find" a wildcard as a place marker and "replace" with original va Eric Excel Discussion (Misc queries) 1 January 27th 09 06:00 PM
How do I replace decimals starting with "." to "0." in excel? Julio Excel Discussion (Misc queries) 2 November 1st 08 07:48 AM
How to replace "#N/A" w "0"when vlookup couldn't find the match? Holly Excel Discussion (Misc queries) 2 July 17th 06 11:48 PM
Replace dialog should put focus on "Find What" not "Replace With" Michael Williams Excel Discussion (Misc queries) 0 May 24th 06 12:45 PM
Can you replace "TRUE" with " " in an exact formula? Sweetetc Excel Worksheet Functions 2 February 10th 06 01:11 PM


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