Hello All,
I am trying to build a formula using Index/Match but my range includes multiple columns. The range where I am trying to find a match is D2:S9500. With the example data provided below, I believe I have two ways to get my result with the best option using a simple Index/Match with a known "lookup_value" (i.e. "CP 5598") for the Match. I have already started this way but the nested IF statements are going to kill me. The other option is to use a helper formula to extract the values that match my pattern into columns A, B, C, or D and then I would only have a few nested IF statements in the primary formula.
Example values I am trying to Match are "CP 0979", "CP 1063", or "CP 0745". Sometimes there are up to 4 values per row that match that pattern.
I am trying to build a formula using Index/Match but my range includes multiple columns. The range where I am trying to find a match is D2:S9500. With the example data provided below, I believe I have two ways to get my result with the best option using a simple Index/Match with a known "lookup_value" (i.e. "CP 5598") for the Match. I have already started this way but the nested IF statements are going to kill me. The other option is to use a helper formula to extract the values that match my pattern into columns A, B, C, or D and then I would only have a few nested IF statements in the primary formula.
Example values I am trying to Match are "CP 0979", "CP 1063", or "CP 0745". Sometimes there are up to 4 values per row that match that pattern.
Cell Formulas | ||
---|---|---|
Range | Formula | |
E1 | CP 1817 TK 002 | |
E2 | CP 5565 TK 029 | |
E3 | CP 5074 TK 029 | |
E5 | CP 6104 TK 007 | |
E6 | CP 6917 TK 1 | |
E7 | CP 5598 TK 002 | |
E8 | CP 0981 | |
E10 | CP 3984 TK 03 | |
E11 | CP 0979 | |
E12 | CP 2452 | |
E13 | CP 0978 | |
E14 | CP 5563 TK 009 | |
E15 | CP 5087 TK 031 | |
E16 | CP 0977 | |
E17 | CP 5087 TK 031 | |
E18 | CP 5564 TK 003 | |
E19 | CP 5088 TK 007 | |
E21 | CP 2431 TK 001 | |
E22 | CP 1064 TK 007 | |
E23 | CP 1062 | |
E24 | CP 6719 TK 53 | |
E25 | CP 5715 TK 003 | |
E26 | CP 7307 TK 13 | |
F1 | CP 1813 TK 001 | |
F2 | CP 5565 TK 027 | |
F3 | CP 5074 TK 027 | |
F5 | CP 6104 TK 005 | |
F7 | CP 5598 | |
F8 | CP 0981 TK 002 | |
F11 | CP 0979 TK 005 | |
F12 | CP 2452 TK 005 | |
F13 | CP 0978 TK 003 | |
F14 | CP 5563 TK 007 | |
F15 | CP 5086 TK 033 | |
F16 | CP 0975 TK 015 | |
F17 | CP 5087 TK 003 | |
F18 | CP 5564 TK 001 | |
F19 | CP 5088 TK 005 | |
F23 | CP 1063 | |
F24 | CP 6719 TK 51 | |
G1 | CP 1813 TK 003 | |
G2 | CP 5565 TK 008 | |
G3 | CP 5074 TK 004 | |
G5 | CP 6103 TK 023 | |
G7 | CP 5597 TK 041 | |
G8 | CP 0981 TK 005 | |
G11 | CP 0979 TK 007 | |
G12 | CP 2452 TK 007 | |
G13 | CP 0978 TK 023 | |
G14 | CP 5562 TK 008 | |
G15 | CP 5086 TK 029 | |
G16 | CP 0975 TK 017 | |
G17 | CP 5087 TK 002 | |
G18 | CP 5563 TK 009 | |
G19 | CP 5088 TK 004 | |
G23 | CP 1063 TK 005 | |
G24 | CP 6719 TK 29 | |
H1 | CP 1816 TK 011 | |
H2 | CP 5565 TK 023 | |
H3 | CP 5074 TK 002 | |
H5 | CP 6103 TK 021 | |
H7 | CP 5597 TK 043 | |
H8 | CP 0981 TK 007 | |
H11 | CP 0979 TK 002 | |
H12 | CP 2452 TK 002 | |
H13 | CP 0978 TK 004 | |
H14 | CP 5562 TK 006 | |
H15 | CP 5086 TK 028 | |
H16 | CP 0977 TK 002 | |
H17 | CP 5086 TK 029 | |
H18 | CP 5563 TK 007 | |
H19 | CP 5088 TK 002 | |
H23 | CP 1063 TK 003 | |
H24 | CP 6720 TK 001 | |
I1 | CP 1817 TK 098 | |
I2 | CP 5565 TK 002 | |
I3 | CP 5073 TK 023 | |
I5 | CP 6103 TK 006 | |
I8 | CP 0980 TK 001 | |
I11 | CP 0979 TK 009 | |
I12 | CP 2451 TK 003 | |
I13 | CP 0979 TK 005 | |
I14 | CP 5562 TK 005 | |
I15 | CP 5086 TK 027 | |
I16 | CP 0977 TK 004 | |
I17 | CP 5086 TK 027 | |
I18 | CP 5563 TK 004 | |
I19 | CP 5087 TK 003 | |
I23 | CP 1063 TK 002 | |
I24 | CP 6720 TK 005 | |
J2 | CP 5565 TK 021 | |
J3 | CP 5073 TK 021 | |
J5 | CP 6103 TK 004 | |
J11 | CP 0979 TK 001 | |
J13 | CP 0979 TK 007 | |
J14 | CP 5562 TK 004 | |
J15 | CP 5086 TK 026 | |
J16 | CP 0977 TK 006 | |
J17 | CP 5087 | |
J18 | CP 5563 TK 002 | |
J19 | CP 5086 TK 027 | |
J23 | CP 1064 TK 007* | |
J24 | CP 6720 TK 31 |