Good day,
I am struggling with my formula. hopefully I can get some help. I need to compare 3 columns in sheet 1 with sheet 2 and give me the result in column D. I am currently using the following formula. I am not sure what I am doing incorrectly.
=INDEX(Sheet2!D:D;MATCH(1;(Sheet2!A:A=A1)*(Sheet2!B:B=B1)*(Sheet2!C:C=C1);0))
<colgroup><col><col span="3"></colgroup><tbody>
</tbody>
I am struggling with my formula. hopefully I can get some help. I need to compare 3 columns in sheet 1 with sheet 2 and give me the result in column D. I am currently using the following formula. I am not sure what I am doing incorrectly.
=INDEX(Sheet2!D:D;MATCH(1;(Sheet2!A:A=A1)*(Sheet2!B:B=B1)*(Sheet2!C:C=C1);0))
Sheet1 | |||
town | erf | prt | |
HUMANSDORP | 886 | 0 | |
HUMANSDORP | 889 | 0 | |
THORNHILL | 123 | 1 | |
HUMANSDORP | 455 | 0 | |
HUMANSDORP | 229 | 0 | |
Sheet 2 | |||
town | erf | prt | Value |
HUMANSDORP | 886 | 0 | 100000 |
JEFFREYS BAY | 886 | 0 | 120000 |
CAPE ST FRANCIS | 886 | 0 | 1200000 |
KRUISFONTEIN | 886 | 0 | 540000 |
PARADYSSTRAND | 886 | 0 | 230000 |
ASTON BAY | 120 | 0 | 450000 |
GAMTOOS MOUTH | 120 | 0 | 10000 |
HANKEY | 120 | 0 | 120000 |
HUMANSDORP | 120 | 0 | 560000 |
JEFFREYS BAY | 120 | 0 | 1500000 |
CAPE ST FRANCIS | 120 | 0 | 3500000 |
Thornhill | 123 | 1 | 23000 |
OESTERBAAI | 120 | 0 | 150000 |
<colgroup><col><col span="3"></colgroup><tbody>
</tbody>
Last edited: