Looking Up a Particular Cell and Values Before and After

twolfs4life

New Member
Joined
Feb 27, 2014
Messages
2
Hi everyone,

New to this forum, but had an Excel issue I was running into and wanted some feedback from the gurus. I have an Excel file (A) that has a key identifier as the first column (Column A) and the specific month/yr on it as the second column (Column B) and I want to match this file with a very large Excel file (B) that has various key identifiers as the first column (Column A) and the month/yr across the top as the first row (Row 1).

Inside Excel file (B) there are many numbers in there. Want I want to do is write a formula in Excel file (A) that tells me based on the key identifier and month/yr to find the same key identifier and month/yr in Excel file (B) --> index/match/match I would imagine BUT then tell me if there are values before that month/yr or after that month/yr and which month/yr if before.

For example Excel file (A) the key id is ABC123 and the month/yr is May 2013. I write formula that finds item ABC123 and month/yr May 2013 in the Excel file (B) and then tells me that there are values in February 2013 and August 2013.

Anyone help would be appreciated. Spinning my wheels on this one. Thanks!
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,214,952
Messages
6,122,454
Members
449,083
Latest member
Ava19

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