Index/Match Non-linear Logic

JPARKHURST

Board Regular
Joined
Oct 25, 2016
Messages
151
I have the following table structure.

I am attempting to pull in the Planning rate associated with the Part No.

The structure (if you look towards the bottom of my table) is not stable - sometimes a product may have 1, 2 or 3 lines (they could, conceivably, have 10).
The structure may have
Part # Paint E-Coat 0
Assy LINENAMEVARIABLE Pack NEEDED RATE

- It will not always have a Paint E-Coat, and it may often have Multiple workstatiosn (eg, Assy LINENAMEVARIABLE Pack; Assy ReSpray LINE NAME VARIABLE PACK)
- Paint will always come first, if it exists, in the listing.

This is the formula I am using. Does it look valid? I am seeing a few results which I question, but so far each one I have looked at looks valid. That being said, there are several thousand Part#'s, so I cannot obviously track and check all of them (ok, I can, I don't want to).

Basically - how's my logic hold up, or can anybody see a better way of doing this? It feels...jinky.

=IF((INDEX(Master!J:J,MATCH(Derived!A2,Master!A:A,0)))="Paint E-Coat",INDEX(Master!L:L,SUM(MATCH(A2,Master!A:A,0)+1)),INDEX(Master!L:L,MATCH(A2,Master!A:A,0)))

(sorry about the sloppy table, i'm limited on what i can upload, transfer (apparently copy). I put the column letters/lables in the first row when I could no longer put them above.

A B C D E F G H I
Part NoNameRevStandard Job QuantityScrap (%)Lead Time DaysDaily Pull QuantityOp NoOperationApproved Workcenters (column J)Setup (hrs)Planning Rate (pcs/hr) (Column L)
100277-91131511-75 DWR TOOL CENTER BLACK000010Paint E-CoatPaint E-Coat0.150
30Assembly Simplified FG PackingAssy AMS TC Pack0.1597
ASSY RESPRAY PACK0.1597
100807-10131WALL CABINET RTA RB000010Paint E-CoatPaint E-Coat0.150
40Assembly Simplified FG PackingAssy GS 1 Pack0.1565
Assy GS PRO Pack0.1565
100875-10132WORKBENCH 6FT RTA RED000010Paint E-CoatPaint E-Coat0.150
40Assembly Simplified FG PackingAssy GS 1 Pack0.1552
Assy GS PRO Pack0.1552
100879-10133WORKBENCH 5 DRAWER KIT RTA RB000010Paint E-CoatPaint E-Coat0.150
30Assembly Simplified FG PackingAssy GS 1 Pack0.1570
Assy GS PRO Pack0.1570
100964-10134FLOOR CABINET RB RTA000010Paint E-CoatPaint E-Coat0.170
20Paint E-Coat 1Paint E-Coat0.170
40Assembly Simplified FG PackingAssy GS 1 Pack0.1750
Assy GS PRO Pack0.1750
ASSY RESPRAY PACK0.1750
101038-PC3433 DWR PROJ CTR RR000010Paint E-CoatPaint E-Coat0.150
40Assembly Simplified FG PackingAssy AMS Cab Pack0.15121
101271-10139WORKBENCH 5 DRAWER KIT RTA BP000010Paint E-CoatPaint E-Coat0.120

<colgroup><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 

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).

Forum statistics

Threads
1,214,990
Messages
6,122,626
Members
449,093
Latest member
catterz66

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