Formulas returning blank being read as >0 Why?

Bonkers Bill

Active Member
Joined
Feb 14, 2005
Messages
347
Hello, i am using the following formula in excel 2007

=IF($O$3="HOME",IF(INDEX(AC5:DV5,MATCH($R$4,$AB$3:$DU$3,0))="","",IF(INDEX(AC5:DV5,MATCH($R$4,$AC$3:$DV$3,0))="L","",INDEX(AC5:DV5,MATCH($R$4,$AB$3:$DU$3,0)))),"")

when this formula returns "" blank and i copy and use paste special, values only, another formula is reading the "" blanks as >0, Why? and what can i do to stop this?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Hello, i am using the following formula in excel 2007

=IF($O$3="HOME",IF(INDEX(AC5:DV5,MATCH($R$4,$AB$3:$DU$3,0))="","",IF(INDEX(AC5:DV5,MATCH($R$4,$AC$3:$DV$3,0))="L","",INDEX(AC5:DV5,MATCH($R$4,$AB$3:$DU$3,0)))),"")

when this formula returns "" blank and i copy and use paste special, values only, another formula is reading the "" blanks as >0, Why? and what can i do to stop this?
The reason is because in Excel TEXT has a higher value than any number.

="X">1000000 = TRUE

What to do about it depends on how you're using the result of a formula that returns a blank.

We'd need to know what your other formula is doing to make a specific suggestion.
 
Upvote 0
This is the formula that finds blank cells as being >0 and returns W
=IF(Y5=0,"W",IF(S5>0,"W",IF(S6>0,"L",IF(ISNA(INDEX(Z$1:Z$1298,MATCH(1,IF(S$1:S$1297=N5,IF(U$1:U$1297=O5,1)),0))),"",INDEX(Z$1:Z$1298,MATCH(1,IF(S$1:S$1297=N5,IF(U$1:U$1297=O5,1)),0))))))
 
Upvote 0
This is the formula that finds blank cells as being >0 and returns W
=IF(Y5=0,"W",IF(S5>0,"W",IF(S6>0,"L",IF(ISNA(INDEX(Z$1:Z$1298,MATCH(1,IF(S$1:S$1297=N5,IF(U$1:U$1297=O5,1)),0))),"",INDEX(Z$1:Z$1298,MATCH(1,IF(S$1:S$1297=N5,IF(U$1:U$1297=O5,1)),0))))))
One way...
IF(AND(N(S5),S5>0),"W",...
 
Upvote 0
The 1st way using the N() works but i am still having other problems in other formulas not as easy to change as this one, is there a way to sort the problem with the original formula where i copy and then special paste, this formuls is

=IF($O$3="HOME",IF(INDEX(AC5:DV5,MATCH($R$4,$AB$3:$DU$3,0))="","",IF(INDEX(AC5:DV5,MATCH($R$4,$AC$3:$DV$3,0))="L","",INDEX(AC5:DV5,MATCH($R$4,$AB$3:$DU$3,0)))),"")
 
Upvote 0
The 1st way using the N() works but i am still having other problems in other formulas not as easy to change as this one, is there a way to sort the problem with the original formula where i copy and then special paste, this formuls is

=IF($O$3="HOME",IF(INDEX(AC5:DV5,MATCH($R$4,$AB$3:$DU$3,0))="","",IF(INDEX(AC5:DV5,MATCH($R$4,$AC$3:$DV$3,0))="L","",INDEX(AC5:DV5,MATCH($R$4,$AB$3:$DU$3,0)))),"")
I'm not sure what you're asking.

If that formula results in blank "", then what?

Are you referencing the result of that formula and it's causing some problem?
 
Upvote 0

Forum statistics

Threads
1,224,618
Messages
6,179,916
Members
452,949
Latest member
beartooth91

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top