Reverse lookup index/match excel w/ duplicates in array

Bluebug_Rae

New Member
Joined
Nov 15, 2017
Messages
6
I need a reverse formula to identify the column headers from sheet2 based on model and OS version on sheet1; if no match found return text “OLDER”. It is important for me to note sheet2 contains duplicate model numbers listed in column A; this is necessary due to the various versions of OS potential installed on hardware.
Sheet1
Model OS Version Approved Version
4331 3.12 ?(return column title from Sheet2)

Sheet2(HWSWSTD)
Model CURRENT FV N-1 FV N-2
4331 15.5 15.3 14.7
4331 3.16 3.12 3.08
My current formula, is not considering the duplicate models in first column on sheet2. How do I fix this?
=IFERROR(INDEX(HWSWSTD[[#Headers],[CURRENT]:[FV N-2]],,MATCH([@[OS Version]],INDEX(HWSWSTD[[#All],[CURRENT]:[FV N-2]],MATCH([@Model],HWSWSTD[[#All],[Model]],0),),0)),"OLDER")

Any assistance would be greatly apricated.
Thank you in advance!
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
I have also tried the following formula, which works on small test scale however when I add in tables and larger data set it doesn't work consistently.

=IFERROR(LOOKUP([@[OS Version]],INDEX(HWSWSTD[[CURRENT]:[FV N-2]],MATCH([@Model],HWSWSTD[Model],0),0),HWSWSTD[[#Headers],[CURRENT]:[FV N-2]]),"OLDER")
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,320
Members
452,635
Latest member
laura12345

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