[Sorry for the previous misposting. Fat fingers!]
The Needy said:
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 -----