So what I am trying to do is if data in the DATA tab in columns 1 & 5 match with columns 1 & 2 in the INDEX tab then take the data in the 3 adjacent columns and place it in the UPLOAD tab. After this is done I need to go to the next row and do the same
Example.
if Robert def in the DATA tab matches def Robert in the INDEX tab then I need to take FFFF, H, 8527 and place it in the UPLOAD tab
I basically need to do this for all data in the DATA tab
INDEX
<tbody>
</tbody>
DATA
<tbody>
</tbody>
UPLOAD
<tbody>
</tbody>
Example.
if Robert def in the DATA tab matches def Robert in the INDEX tab then I need to take FFFF, H, 8527 and place it in the UPLOAD tab
I basically need to do this for all data in the DATA tab
INDEX
1 | 2 | 3 | 4 | 5 |
abc | Augusta | AAAA | H | 123 |
abc | Palmaire | BBBB | H | 65464 |
abc | Tamaz | CCCC | H | 4545 |
abc | ZCR | DDDD | H | 453 |
abc | Moir | EEEE | C | 453453 |
def | Robert | FFFF | H | 8527 |
def | JCA | GGG | C | 786 |
def | Caren | SDEFSDF | C | 000 |
def | Nelson | SDFVB | C | 111 |
def | Levy | DFD | C | 222 |
<tbody>
</tbody>
DATA
1 | 2 | 3 | 4 | 5 |
Augusta | 13 | Q | 00 | abc |
Tamaz | 41 | Q | 11 | abc |
JCA | 45 | Q | 22 | def |
Robert | 453 | Q | 33 | def |
ZCR | 63 | Q | 44 | abc |
Caren | 98 | Q | 55 | def |
Moir | 85 | Q | 66 | abc |
Palmaire | 48 | Q | 77 | abc |
Levy | 45 | Q | 88 | def |
Nelson | 36 | Q | 99 | def |
<tbody>
</tbody>
UPLOAD
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
FFFF | H | 8527 | ||||||
<tbody>
</tbody>