Column A VLOOKUP Issue

Bob Todd

New Member
Joined
Mar 27, 2017
Messages
12
Office Version
  1. 2016
Platform
  1. Windows
  2. Mobile
I have a formula below that works great when I search column B through N, but when I change it to column A to N, I get a N/A error.

=VLOOKUP(B3,INDIRECT("'"&INDEX(SheetList,MATCH(1,--(COUNTIF(INDIRECT("'"&SheetList&"'!$B1:$N700"),B3)>0),0))&"'!$B1:$N700"),9,FALSE)

The format of the information in all columns is general.

Thanks for any help.
Bob
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Is the column number in the range still correct ? Is it 9 or 10 ?
 
Upvote 0
OK Have you checked the Evaluate Formula tool ?
 
Upvote 0
Are the values you want to lookup in col A or B?
 
Upvote 0
There are some values in column A I would like to pull.

This is a workbook with a lot of tabs and I'd like to be agile enough to anticipate any requests including pulling some information from column A :)
 
Upvote 0
There are some values in column A I would like to pull.
In that case try
Excel Formula:
=IFNA(VLOOKUP(B3,INDIRECT("'"&INDEX(Sheetlist,MATCH(1,--(COUNTIF(INDIRECT("'"&Sheetlist&"'!$B1:$N700"),B3)>0),0))&"'!$B1:$N700"),9,FALSE),VLOOKUP(B3,INDIRECT("'"&INDEX(Sheetlist,MATCH(1,--(COUNTIF(INDIRECT("'"&Sheetlist&"'!$A1:$N700"),B3)>0),0))&"'!$a1:$N700"),10,FALSE))
 
Upvote 0
In that case try
Excel Formula:
=IFNA(VLOOKUP(B3,INDIRECT("'"&INDEX(Sheetlist,MATCH(1,--(COUNTIF(INDIRECT("'"&Sheetlist&"'!$B1:$N700"),B3)>0),0))&"'!$B1:$N700"),9,FALSE),VLOOKUP(B3,INDIRECT("'"&INDEX(Sheetlist,MATCH(1,--(COUNTIF(INDIRECT("'"&Sheetlist&"'!$A1:$N700"),B3)>0),0))&"'!$a1:$N700"),10,FALSE))

Thank you, that worked great!
 
Upvote 0

Forum statistics

Threads
1,214,853
Messages
6,121,935
Members
449,056
Latest member
denissimo

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