It would be helpful if you explained in sufficient detail what you are comparing. The two tables are not exactly the same. What is your criteria for comparison. Once the comparison is made, what would you like to happen? If True? If not true? Help us to help you as we are not mind readers and can only assist if we understand the issue and what the expected results should be.
1. I have made pivot table to add all duplicate invoice amount.
2. I have copied all invoices in 1 column column A & C.
3. =INDEX('Sheet1 (2)'!$A$2:$D$20,MATCH(A2,'Sheet1 (2)'!$A$2:$A$20,0),2) & =INDEX('Sheet1 (2)'!$C$2:$D$20,MATCH(A2,'Sheet1 (2)'!$C$2:$C$20,0),2) - but in my formula I am getting values twice wherever formula is true. So fed up
and to get the desired results I type manual on first sheet which you were asking.
thanking you in advance and hope my clarification well understood.
I need to do the compare column A & B (supplier invoice # & amount) with
what we have received the materials which is in column C & D (we may have receive partial delivery in same invoice)
Attached is your file amended using the Power Query functionality. I joined the two tables in a Left Join so that you can see where All of Table D and only Table B where there are matches. Look at tutorials for Power Query. You can add a column to see the differences and then filter for those not equal to zero to find outstandings