Index / Match to find column header

Real_Sooner

New Member
Joined
May 20, 2019
Messages
1
I have a sheet named 'Diff' that has ID in column A and Difference in column K.
I have another sheet named 'Udata' that has ID in column A and amounts in columns B:JG.
I am trying to look up the code in row 3 (column header) of the UData tab, based on the ID number and Difference from the Diff tab, but keep getting the error N/A. Help Please!

Example:
Diff Tab
A167964 = 1234
K167964= 5.22

Udata tab
A4 = 1234
BG3 = SSHT-R
BG4 = 5.22

Need a formula for cell L167964 on the Diff tab that gives me a result of "SSHT-R"

BONUS: What if there are 2 or more columns in B:JG that have the number 5.22? Is there a way to get multiple results? Thanks in advance!
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
See if this example helps. Change ranges to match your data.
This is an array formula and must be entered with CTRL-SHIFT-ENTER.

Excel Workbook
ABC
1Find
2ID1234
3Diff5.22
4
5Header(s)
6Header3SSHT-R
Diff
Excel Workbook
ABCDEFGHI
3IDHeader1Header2Header3Header4SSHT-RHeader5Header6Header7
456793.255.225.009.249.008.005.004.00
525253.006.004.003.002.009.006.009.00
612329.007.006.007.007.002.000.005.00
712343.250.005.226.005.224.005.255.00
8564804.785.233.006.896.009.008.00
UData
 
Upvote 0
In the formula above, drag across columns as needed to get all results.
 
Upvote 0

Forum statistics

Threads
1,213,549
Messages
6,114,264
Members
448,558
Latest member
aivin

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