Lookup across multiple sheets and return a value to the left

Qqqqq

New Member
Joined
Feb 6, 2014
Messages
48
The following formula searches column K of each sheet listed in A2:A4 of the Summary sheet for the value in cell F2 of the Summary sheet, and returns the corresponding value from column L...

=VLOOKUP(F2,INDIRECT("'"&INDEX(A2:A4,MATCH(TRUE,COUNTIF(INDIRECT("'"&A2:A4&"'!K:K"),F2)>0,0))&"'!K:R"),2,0)

How could this formula be adjusted to return the corresponding value from column B (a column to the left of K) instead of column L (a column to the right of K)?
 
Last edited:

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
The following formula searches column K of each sheet listed in A2:A4 of the Summary sheet for the value in cell F2 of the Summary sheet, and returns the corresponding value from column L...

=VLOOKUP(F2,INDIRECT("'"&INDEX(A2:A4,MATCH(TRUE,COUNTIF(INDIRECT("'"&A2:A4&"'!K:K"),F2)>0,0))&"'!K:R"),2,0)

How could this formula be adjusted to return the corresponding value from column B (a column to the left of K) instead of column L (a column to the right of K)?

Any ideas...?
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,369
Members
449,080
Latest member
Armadillos

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