Find match in row, return values greater than zero with column header.

arcaidius

Board Regular
Joined
Dec 4, 2018
Messages
97
So here is my dilemma, I have two tables, in column A on both tables is the work order number. Working from Table 1, I need to find a match in table 2, and then in that row find the 5 greatest number values, and return the value and column header back to Table 1.

I thought TEXTJOIN might work?
I have a TEXTJOIN formula for a different column in Table 1 but not sure how to tweak it, this one is only checking one column:

=IF(A3="","",TEXTJOIN(", ", TRUE, IF(IFERROR(MATCH(KBDataTbl_for_Houston_Metrics[Machine], IF(A3=KBDataTbl_for_Houston_Metrics[Work Order.], KBDataTbl_for_Houston_Metrics[Machine], ""), 0),"")=MATCH(ROW(KBDataTbl_for_Houston_Metrics[Machine]), ROW(KBDataTbl_for_Houston_Metrics[Machine])), KBDataTbl_for_Houston_Metrics[Machine], "")))

The columns I need to check are B through BJ:
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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