HI Master,
I am new here and I need an Excel formula to increment the reference number only if the vendor column and date is changed.
Please help.
Thanks,
Lay
I am new here and I need an Excel formula to increment the reference number only if the vendor column and date is changed.
Please help.
Thanks,
Lay
ORIGINAL | ||||
RefNumber | APAccount | Vendor | TxnDate | LineAmount |
EFT-01/01/2021 | 2000 | QGiv | 1/1/2021 | 39.48 |
EFT-01/01/2021 | 2000 | QGiv | 1/1/2021 | 39.48 |
EFT-01/01/2021 | 2000 | QGiv | 1/1/2021 | 39.48 |
EFT-01/01/2021 | 2000 | QGiv | 1/1/2021 | 39.48 |
EFT-01/01/2021 | 2000 | Republic Services #924 | 1/1/2021 | 302.16 |
EFT-01/01/2021 | 2000 | Square | 1/1/2021 | 149.47 |
EFT-01/01/2021 | 2000 | Square | 1/1/2021 | 21.55 |
EFT-01/01/2021 | 2000 | Square | 1/1/2021 | 99.22 |
SHOULD BE THE OUTPUT | ||||
RefNumber | APAccount | Vendor | TxnDate | LineAmount |
EFT-01/01/2021-1 | 2000 | QGiv | 1/1/2021 | 39.48 |
EFT-01/01/2021-1 | 2000 | QGiv | 1/1/2021 | 39.48 |
EFT-01/01/2021-1 | 2000 | QGiv | 1/1/2021 | 39.48 |
EFT-01/01/2021-1 | 2000 | QGiv | 1/1/2021 | 39.48 |
EFT-01/01/2021-2 | 2000 | Republic Services #924 | 1/4/2021 | 302.16 |
EFT-01/01/2021-3 | 2000 | Square | 1/4/2021 | 149.47 |
EFT-01/01/2021-3 | 2000 | Square | 1/5/2021 | 21.55 |
EFT-01/01/2021-3 | 2000 | Square | 1/6/2021 | 99.22 |