IF(VLOOKUP) not working

Sandy01UK

New Member
Joined
Apr 16, 2013
Messages
19
Hi


Looking for some help/pointers. I'm trying to combine an IF and a VLOOKUP and it doesn't seem to work!

If cell B2("LIVE MASTER TAB") contains the word/text "WEB" lookup the value in Cell E2("LIVE MASTER TAB) against Columns U:W("PRICING DATA TAB) and return the value in column W.

The formula I'm using is

=IF(B2="WEB",0,VLOOKUP(M2,'Pricing Data'!U:W,3,FALSE))

If the value in B2 Is not "WEB" I need to return a blank.

Thanks in advance

Sandy
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Try

=IF(B2="WEB",IFERROR(VLOOKUP(M2,'Pricing Data'!U:W,3,FALSE),"No price"),"")
 
Upvote 0

Forum statistics

Threads
1,224,885
Messages
6,181,585
Members
453,055
Latest member
cope7895

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