I´m trying to compare 2 tables & get an output based on the following logic.
Table 1 is the source table. Table 2 is for comparison. In table 1, I want to take the names having 'status=ok' & check if they have 'keep<>y' in table 2. Take those values & provide an output. I´m trying to use dynamic arrays to the the desired output, but not successful. I'm sure it is quite simple for the experts in this forum. Can you help please?
Table 1
Table 2
Desired output
Table 1 is the source table. Table 2 is for comparison. In table 1, I want to take the names having 'status=ok' & check if they have 'keep<>y' in table 2. Take those values & provide an output. I´m trying to use dynamic arrays to the the desired output, but not successful. I'm sure it is quite simple for the experts in this forum. Can you help please?
Table 1
excel problems.xlsx | |||||
---|---|---|---|---|---|
B | C | D | |||
1 | table 1 | ||||
2 | name | status | details | ||
3 | dfds | ok | kjhk | ||
4 | gfh | not ok | |||
5 | uir | not ok | 5t | ||
6 | qewr | ok | nmnm | ||
7 | xcvz | ok | xcx | ||
8 | cmvn | ok | dsds | ||
9 | dhgdh | ok | oioi | ||
10 | teywu | not ok | |||
11 | sdf | ok | |||
12 | gd | ok | |||
13 | hkfi | not ok | |||
Sheet9 |
Table 2
excel problems.xlsx | |||||
---|---|---|---|---|---|
G | H | I | |||
1 | table 2 | ||||
2 | name | keep | comments | ||
3 | qewr | 34u | |||
4 | dfds | y | |||
5 | xcvz | ||||
6 | sdf | n | com2 | ||
7 | cmvn | y | |||
8 | uir | n | no7 | ||
9 | dhgdh | lk | 8y | ||
Sheet9 |
Desired output
excel problems.xlsx | |||||||
---|---|---|---|---|---|---|---|
L | M | N | O | P | |||
1 | desired output | ||||||
2 | name | status | details | keep | comments | ||
3 | qewr | ok | nmnm | 34u | |||
4 | xcvz | ok | xcx | ||||
5 | dhgdh | ok | oioi | lk | 8y | ||
6 | sdf | ok | n | com2 | |||
Sheet9 |