Removing the 0 when no data is find ...

Tartesos

Board Regular
Joined
Feb 3, 2011
Messages
109
I'm using this formula:

=IF(ISNA(LOOKUP(9.99999999999999E+307,FIND(data!$B$4:$B$2488,imput!B133),data!$X$4:$X$2488)),"",LOOKUP(9.99999999999999E+307,FIND(data!$B$4:$B$2488,imput!B133),data!$X$4:X$2488))

If the formula finds no data it show, sometimes, a "0".
I want to know if there is a way to stop that from happening. Anyone can help me??

Regards,
 

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.
Hi,

Try something like this.....

IF(OR(ISNA(LOOKUP(...........)),LOOKUP(..........)=0),"",LOOKUP(......))
 
Upvote 0
I tried that but there are 2 cells that are still getting the ''0" .... :(
Here is the formula with what you told to do... is this correct ??

=IF(OR(ISNA(LOOKUP(9.99999999999999E+307,FIND(data!$B$4:$B$2488,imput!B4),data!$X$4:$X$2488)=0)),"",LOOKUP(9.99999999999999E+307,FIND(data!$B$4:$B$2488,imput!B4),data!$X$4:X$2488))

Regards,
 
Upvote 0
You can't put both arguments together like this;

=IF(OR(ISNA(LOOKUP(....))=0,"",....

You need to split them out and put your formula in twice.

IF(OR(ISNA(LOOKUP(...........)),LOOKUP(..........)=0),"",LOOKUP(......))
 
Upvote 0
It does move the "0" but now when there is no data input on the B a #NA is on the X column :(

This the formula:

=IF(OR(ISNA(LOOKUP(9.99999999999999E+307,FIND(data!$B$4:$B$2488,imput!B731),data!$X$4:$X$2488)),LOOKUP(9.99999999999999E+307,FIND(data!$B$4:$B$2488,imput!B731),data!$X$4:$X$2488)=0),"",LOOKUP(9.99999999999999E+307,FIND(data!$B$4:$B$2488,imput!B731),data!$X$4:X$2488))

And is ok but the #NA is in the X column if I dont put any data on the B Column .. any ideas???

Thanks
 
Upvote 0
How do you mean there is an NA on Column X? Does the formula in question work fine but cause another calculation to work ok?

Is you FIND arguments not the wrong way around anyway?
 
Upvote 0

Forum statistics

Threads
1,224,598
Messages
6,179,814
Members
452,945
Latest member
Bib195

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