Hi All
I need to get the largest value(date) for multiple reports in a large dataset and update it in Column B. The Report sample looks like the one from Column E to N.
I'm trying to lookup the figures in Column A and match with the Headers row in the dataset, then get the largest value(date) from the below columns.
I tried to use the INDEX MATCH with LARGE function but it only worked for the first one and return #REF! for the rest and I couldn't figure out how to fix it. Is there also a better way to lookup the whole dataset instead of selecting each column for each report? Appreciate any inputs. Thank you!
I need to get the largest value(date) for multiple reports in a large dataset and update it in Column B. The Report sample looks like the one from Column E to N.
I'm trying to lookup the figures in Column A and match with the Headers row in the dataset, then get the largest value(date) from the below columns.
I tried to use the INDEX MATCH with LARGE function but it only worked for the first one and return #REF! for the rest and I couldn't figure out how to fix it. Is there also a better way to lookup the whole dataset instead of selecting each column for each report? Appreciate any inputs. Thank you!
Book1 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | |||
1 | Report | Last Updated | expected output | AFS | % | HSL | % | ALL | % | DLL | % | MLL | % | |||
2 | AFS | 07-Jun | 07-Jun | 03-Jun | 07-Jun | 07-Jun | 07-Jun | 03-Jun | ||||||||
3 | HSL | #REF! | 09-Jun | 03-Jun | 07-Jun | 07-Jun | 07-Jun | 03-Jun | ||||||||
4 | ALL | #REF! | 10-Jun | 04-Jun | 08-Jun | 08-Jun | 08-Jun | 04-Jun | ||||||||
5 | DLL | #REF! | 11-Jun | 04-Jun | 08-Jun | 08-Jun | 08-Jun | 04-Jun | ||||||||
6 | MLL | #REF! | 08-Jun | 05-Jun | 09-Jun | 09-Jun | 09-Jun | 05-Jun | ||||||||
7 | 05-Jun | 09-Jun | 09-Jun | 09-Jun | 05-Jun | |||||||||||
8 | 06-Jun | 09-Jun | 10-Jun | 10-Jun | 06-Jun | |||||||||||
9 | 06-Jun | 10-Jun | 10-Jun | 06-Jun | ||||||||||||
10 | 07-Jun | 11-Jun | 07-Jun | |||||||||||||
11 | 11-Jun | 07-Jun | ||||||||||||||
12 | 08-Jun | |||||||||||||||
13 | 08-Jun | |||||||||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2 | B2 | =INDEX(LARGE(E2:E13,1),MATCH(A2,E1:N1,0)) |
B3 | B3 | =INDEX(LARGE(G2:G13,1),MATCH(A3,E1:N1,0)) |
B4 | B4 | =INDEX(LARGE(I2:I13,1),MATCH(A4,E1:N1,0)) |
B5 | B5 | =INDEX(LARGE(I2:I13,1),MATCH(A5,E1:N1,0)) |
B6 | B6 | =INDEX(LARGE(I2:I13,1),MATCH(A6,E1:N1,0)) |
Press CTRL+SHIFT+ENTER to enter array formulas. |