hello all
i am wondering can i use index+match to return column L into my table O2:V11?
thank you very much for your guidence
i am wondering can i use index+match to return column L into my table O2:V11?
thank you very much for your guidence
Sample.xlsx | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | J | K | L | M | N | O | P | Q | R | S | T | U | V | ||||||
1 | Worker Type | LOB | Location | Person No. | Name | Date | Start Time | End Time | ||||||||||||||||
2 | Holiday | 07/28/2024 | 7:45 | 17:15 | A | Name | 28-Jul | 29-Jul | 30-Jul | 31-Jul | 1-Aug | 2-Aug | 3-Aug | |||||||||||
3 | Carol | 07/29/2024 | 13:45 | 23:15 | B | Sun | Mon | Tue | Wed | Thu | Fri | Sat | ||||||||||||
4 | Catherine | 07/30/2024 | 22:45 | 8:15 | C | Holiday | A | |||||||||||||||||
5 | Ming | 07/31/2024 | 21:30 | 7:00 | C1 | Carol | B | |||||||||||||||||
6 | Marcus | 08/01/2024 | 9:00 | 15:45 | A1 | Catherine | C | |||||||||||||||||
7 | Toru | 08/02/2024 | 16:30 | 23:15 | B1 | Ming | C1 | |||||||||||||||||
8 | Thetis | 08/03/2024 | 7:45 | 17:15 | A | Marcus | A1 | |||||||||||||||||
9 | Amen | 07/28/2024 | 13:45 | 23:15 | B | Toru | B1 | |||||||||||||||||
10 | Thetis | A | ||||||||||||||||||||||
11 | Amen | B | ||||||||||||||||||||||
136 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
L2:L9 | L2 | =IFERROR(INDEX({"A";"B";"C";"C1";"A1";"B1"}, MATCH(TEXT(J2, "h:mm")&"-"&TEXT(K2, "h:mm"),{"7:45-17:15";"13:45-23:15";"22:45-8:15";"21:30-7:00";"9:00-15:45";"16:30-23:15"},0)), "not defined") |