Book1(Edit v1).xlsm
Hi deadshine,
Sry for the late reply. Im on holiday.
Please find attached file.
below is the code i'm using, please enter the code and press CTRL + Shift + Enter, instead enter only.
For those return #N/A, is because the column E value recognize as text, is not match with Invoice Sheet which is number.
Let me know if you have problem with the code.
=INDEX('Invoice Sheet'!$C$2:$C$295,(COUNTIFS($A$2:A2,A2,$E$2:E2,E2) -1) + MATCH(1,(TEXT(A2,"DD.MM.YY")='Invoice Sheet'!$A$2:$A$295)*(E2='Invoice Sheet'!$B$2:$B$295),0))
Bookmarks