VLookup Formula Error

i.beard

New Member
Joined
Feb 12, 2009
Messages
13
I have a file with multiple worksheets and I need to do vlookup of UPCs from 1 worksheet called 0723 and if it is null value then vlookup from another worksheet called productmaster. The formula I came up with is

=IFERROR(VLOOKUP(UPCLookup!A2,'0723'!$B$2:$Y$63014,23,FALSE),IFERROR(VLOOKUP(UPCLookup!ProductMaster !B2:S149824,18,false),””))

This returns an unspecified error and higlights the B2 after productmaster!
What is wrong with my formula?

Please help I am pulling my hair out.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Welcome to MrExcel Board...

in the second one you don't have a lookup value only the table array
 
Upvote 0
Corrected to the following

=IFERROR(VLOOKUP(UPCLookup!A2,'0723'!$B$2:$Y$63014,23,FALSE),IFERROR(VLOOKUP(UPCLookup!A2,’ProductMaster’!B2:S149824,18,FALSE),””))

Now it opens an update values dialog box and wants me to select a file to update from...?
 
Upvote 0
I think you had ticks that didn't belong

=IFERROR(VLOOKUP(UPCLookup!A2,'0723'!$B$2:$Y$63014,23,FALSE),IFERROR(VLOOKUP(UPCLookup!A2,ProductMaster!B2:S149824,18,FALSE),""))
 
Upvote 0

Forum statistics

Threads
1,215,669
Messages
6,126,117
Members
449,292
Latest member
Mario BR

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