Please help, I'm trying to work an excel formula in order to report on a table of data.
I’d like to return a "Yes" when unique entries in column A, when the corresponding range of entries in column B are unique. The data set is:
Table1
<tbody>
</tbody>
The formula in Table 2 in Column B2 is
'=IF(AND(EXACT(INDEX(Table1!A:B,MATCH(A2,Table1!A:A,0),2),Table1!B:B))=TRUE,"YES","No")'
and the formula in B3 is
'=IF(AND(EXACT(INDEX(Table1!A:B,MATCH(A3,Table1!A:A,0),2),Table1!B:B))=TRUE,"YES","No")' etc etc.
The output in Column 2 is as follows:
Table2
<tbody>
</tbody>
When in fact the output should read:
<tbody>
</tbody>
Many Thanks
I’d like to return a "Yes" when unique entries in column A, when the corresponding range of entries in column B are unique. The data set is:
Table1
Column A | Column B |
A | 20 |
A | 20 |
B | 30 |
B | 2 |
C | 40 |
C | 40 |
C | 40 |
D | 30 |
<tbody>
</tbody>
The formula in Table 2 in Column B2 is
'=IF(AND(EXACT(INDEX(Table1!A:B,MATCH(A2,Table1!A:A,0),2),Table1!B:B))=TRUE,"YES","No")'
and the formula in B3 is
'=IF(AND(EXACT(INDEX(Table1!A:B,MATCH(A3,Table1!A:A,0),2),Table1!B:B))=TRUE,"YES","No")' etc etc.
The output in Column 2 is as follows:
Table2
Column A | Column B |
A | YES |
B | YES |
C | YES |
D | No |
<tbody>
</tbody>
When in fact the output should read:
Column A | Column B |
A | YES |
B | No |
C | YES |
D | YES |
<tbody>
</tbody>
Many Thanks