Vlookup - search value of one column if blank, use another column

Kmkreamer69

New Member
Joined
Aug 13, 2021
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Current formula:
IFERROR(VLOOKUP($A11,$B:$I,8,FALSE),"")

Pulls from column 8, would also like to pull from column 11 if column 8 is blank

Would like to add if the cell is blank, look up in value in another column. Any assistance would be greatly appreciated.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
ignore not sure now

IF A11 is not in the column B , you get an ERROR and hence blank
IF the value is not in column 8 , then a zero is returned

Book3
ABCDEFGHIJKLMN
10
2
312
42
534
6
7
8
9
10
112
12
Sheet1
Cell Formulas
RangeFormula
N1N1=VLOOKUP($A11,$B:$I,8,FALSE)


SO the reason you get a blank is because of the IFERROR telling you column B does not match A11
Otherwise you should be returning a zero

or have I miss undersrtood
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,927
Messages
6,122,309
Members
449,080
Latest member
jmsotelo

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