return null values from vlookup

stewbrown

New Member
Joined
Sep 12, 2002
Messages
6
I would like to have vlookup return a null or missing (or empty cell) when it does not find a match, instead of the "#N/A". Is there a way to do this?
 
Actually, it was neither, what I posted is in the formula.

=INDEX(Work!$B$1:$F$823, MATCH($D8,Work!$D$1:$D$823,), MATCH("SOV",Work!$B$1:$F$1,)).

I had set it up using the Lookup Wizard. As far as working correctly, it gives the correct values (whenever there are values in the table). Will the missing zeroes help?

As for the morefunc - I have it, but not sure if it requires payment for it to work. How would I go about using it?

No, morefunc doesn't require payment. By the way, I should have said "The formula should be either ... or..." instead of "I expect your original formula to be either...or...".

Assuming that you installed the morefunc add-in, you can use:

=IF(ISNA(SETV(INDEX(Work!$B$1:$F$823,MATCH($D8,Work!$D$1:$D$823,0),MATCH("SOV",Work!$B$1:$F$1,0)))),"",GETV())

Try to experiment with the first MATCH with 0 and without 0 to see how that functions. The SETV/GETV allows you to avoid computing the same thing twice in order to get a result or a blank.

Aladin
This message was edited by Aladin Akyurek on 2002-10-08 17:56
 
Upvote 0

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Thank you! This will be my project tomorrow morning.

I truly appreciate the time and advice.
 
Upvote 0
Just to let everyone know, I followed the advice here - and everything works perfect!!

Thank you!!!
 
Upvote 0

Forum statistics

Threads
1,226,237
Messages
6,189,792
Members
453,568
Latest member
LaTwiglet85

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