MASOODAHMAD
Board Regular
- Joined
- Mar 28, 2012
- Messages
- 105
- Platform
- MacOS
Hello,
I'm trying to get this to work. I tried the vlookup, combination of Match & Index, but none helped me to achieve the desired output. I'm missing something.
Here is my lookup table1 with "Holiday" details in the third column. Instead of "Holiday", the column might contains other text/value.
Table1:
<tbody>
</tbody> <style>table { }td { padding-top: 1px; padding-right: 1px; padding-left: 1px; color: black; font-size: 12pt; font-weight: 400; font-style: normal; text-decoration: none; font-family: Calibri, sans-serif; vertical-align: bottom; border: medium none; white-space: nowrap; }.xl63 { text-align: left; border: 0.5pt solid windowtext; }.xl64 { border: 0.5pt solid windowtext; }.xl65 { font-weight: 700; }.xl66 { text-align: left; border: 0.5pt solid windowtext; background: yellow none repeat scroll 0% 0%; }.xl67 { border: 0.5pt solid windowtext; background: yellow none repeat scroll 0% 0%; }</style>
Below is the table2 where I want to extract the values from the table1 above.
If values in column A and B (table2) matches with the values in column A and B (table1), then the corresponding column C (table2) should get the value from column C of table 1. Also note that Ecode is repeated in column A.
For example, in the table below, the Red highlighted needs to have the "Holiday" data in column C.
Table2:
<tbody>
</tbody> <style>table { }td { padding-top: 1px; padding-right: 1px; padding-left: 1px; color: black; font-size: 12pt; font-weight: 400; font-style: normal; text-decoration: none; font-family: Calibri, sans-serif; vertical-align: bottom; border: medium none; white-space: nowrap; }.xl63 { text-align: left; border: 0.5pt solid windowtext; }.xl64 { border: 0.5pt solid windowtext; }.xl65 { font-weight: 700; }.xl66 { text-align: left; border: 0.5pt solid windowtext; background: yellow none repeat scroll 0% 0%; }.xl67 { border: 0.5pt solid windowtext; background: yellow none repeat scroll 0% 0%; }.xl68 { border: 0.5pt solid windowtext; }</style>
Thanks in advance.
I'm trying to get this to work. I tried the vlookup, combination of Match & Index, but none helped me to achieve the desired output. I'm missing something.
Here is my lookup table1 with "Holiday" details in the third column. Instead of "Holiday", the column might contains other text/value.
Table1:
Ecode | Date | Day |
EKCS-1247 | 1/5/2018, Tuesday | |
EKCS-1141 | 1/5/2018, Tuesday | |
EKCS-0366 | 1/5/2018, Tuesday | |
EKCS-1317 | 1/5/2018, Tuesday | |
EKCS-1247 | 7/5/2018, Monday | Holiday |
EKCS-1141 | 7/5/2018, Monday | Holiday |
EKCS-0366 | 7/5/2018, Monday | Holiday |
EKCS-1317 | 7/5/2018, Monday | Holiday |
EKCS-1247 | 8/5/2018, Tuesday | |
EKCS-1141 | 8/5/2018, Tuesday | |
EKCS-0366 | 8/5/2018, Tuesday | |
EKCS-1317 | 8/5/2018, Tuesday | |
EKCS-1247 | 8/5/2018, Tuesday |
<tbody>
</tbody>
Below is the table2 where I want to extract the values from the table1 above.
If values in column A and B (table2) matches with the values in column A and B (table1), then the corresponding column C (table2) should get the value from column C of table 1. Also note that Ecode is repeated in column A.
For example, in the table below, the Red highlighted needs to have the "Holiday" data in column C.
Table2:
Ecode | Date | Day | Ecode | Date | Day | |||
EKCS-0123 | 2/6/2018, Saturday | EKCS-0123 | 2/6/2018, Saturday | |||||
EKCS-1246 | 13/5/2018, Sunday | EKCS-1246 | 13/5/2018, Sunday | |||||
EKCS-0482 | 21/5/2018, Monday | EKCS-0482 | 21/5/2018, Monday | |||||
EKCS-0229 | 29/5/2018, Tuesday | EKCS-0229 | 29/5/2018, Tuesday | |||||
EKCS-0362 | 15/5/2018, Tuesday | EKCS-0362 | 15/5/2018, Tuesday | |||||
EKCS-0366 | 8/5/2018, Tuesday | EKCS-0366 | 8/5/2018, Tuesday | |||||
EKCS-1317 | 7/5/2018, Monday | EKCS-1317 | 7/5/2018, Monday | Holiday | ||||
EKCS-1317 | 8/5/2018, Tuesday | EKCS-1317 | 8/5/2018, Tuesday | |||||
EKCS-1062 | 23/5/2018, Wednesday | EKCS-1062 | 23/5/2018, Wednesday | |||||
EKCS-1247 | 8/5/2018, Tuesday | EKCS-1247 | 8/5/2018, Tuesday | |||||
EKCS-1188 | 25/5/2018, Friday | EKCS-1188 | 25/5/2018, Friday | |||||
EKCS-0683 | 31/5/2018, Thursday | OUTPUT >> | EKCS-0683 | 31/5/2018, Thursday | ||||
EKCS-1306 | 6/6/2018, Wednesday | EKCS-1306 | 6/6/2018, Wednesday | |||||
EKCS-0366 | 1/5/2018, Tuesday | EKCS-0366 | 1/5/2018, Tuesday | |||||
EKCS-1247 | 8/5/2018, Tuesday | EKCS-1247 | 8/5/2018, Tuesday | |||||
EKCS-1141 | 7/5/2018, Monday | EKCS-1141 | 7/5/2018, Monday | Holiday | ||||
EKCS-0331 | 9/5/2018, Wednesday | EKCS-0331 | 9/5/2018, Wednesday | |||||
EKCS-1358 | 11/5/2018, Friday | EKCS-1358 | 11/5/2018, Friday | |||||
EKCS-1235 | 4/6/2018, Monday | EKCS-1235 | 4/6/2018, Monday | |||||
EKCS-1317 | 1/5/2018, Tuesday | EKCS-1317 | 1/5/2018, Tuesday | |||||
EKCS-1247 | 3/5/2018, Thursday | EKCS-1247 | 3/5/2018, Thursday | |||||
EKCS-1141 | 1/5/2018, Tuesday | EKCS-1141 | 1/5/2018, Tuesday | |||||
EKCS-0366 | 7/5/2018, Monday | EKCS-0366 | 7/5/2018, Monday | Holiday | ||||
EKCS-1247 | 7/5/2018, Monday | EKCS-1247 | 7/5/2018, Monday | Holiday | ||||
EKCS-0949 | 7/5/2018, Monday | EKCS-0949 | 7/5/2018, Monday | |||||
EKCS-0911 | 27/5/2018, Sunday | EKCS-0911 | 27/5/2018, Sunday |
<tbody>
</tbody>
Thanks in advance.
Last edited: