askall1000
Board Regular
- Joined
- Jan 3, 2019
- Messages
- 58
- Office Version
- 2016
- Platform
- Windows
Hello to All,
I have customers statements derived from accounting software. I want to formulate the balance of each customer according to date of invoices had been issued. And I will use this formula frequently by changing the date at C1 cell and there is more than 50 customers. In reality there are also payments received but purpose of mine is find the invoices that constitute balance of account according to day groups mention in M3:R3. If account has no balance it should be zero. If the sum of invoices exceed balance, it should not take into consideration whole amount of invoice just the needed balance. The difference between S8 and balance (K8) must be zero.
Thank you very much in advance who spare their valuable time to help me.
I have customers statements derived from accounting software. I want to formulate the balance of each customer according to date of invoices had been issued. And I will use this formula frequently by changing the date at C1 cell and there is more than 50 customers. In reality there are also payments received but purpose of mine is find the invoices that constitute balance of account according to day groups mention in M3:R3. If account has no balance it should be zero. If the sum of invoices exceed balance, it should not take into consideration whole amount of invoice just the needed balance. The difference between S8 and balance (K8) must be zero.
Thank you very much in advance who spare their valuable time to help me.
Aging Balance 2023.xlsx | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | |||
1 | Date | 01.04.2023 | ||||||||||||||||||||
2 | ||||||||||||||||||||||
3 | Current Code | Company Name | Date | Voucher Num | Invoice Num | Description | Currency Code | FX Rate | Debit | Credit | Balance | Days | 0-30 | 31-60 | 61-90 | 91-120 | 121-150 | 150+ | Total | Difference | ||
4 | CU03 | Customer2 | 01.11.2022 | USD | 25.378,78 | 25.378,78 | 151,00 | |||||||||||||||
5 | CU03 | Customer2 | 01.02.2023 | USD | 10.000,00 | 35.378,78 | 59,00 | |||||||||||||||
6 | CU03 | Customer2 | 14.03.2023 | USD | 25.849,09 | 61.227,87 | 18,00 | |||||||||||||||
7 | CU03 | Customer2 | 14.03.2023 | USD | 3.320,85 | 64.548,72 | 18,00 | |||||||||||||||
8 | CU03 | Customer2 | 17.03.2023 | USD | 23.706,00 | 40.842,72 | 15,00 | 29.169,94 | 10.000,00 | 0 | 0,00 | 0,00 | 1.672,78 | 40.842,72 | 0,00 | |||||||
9 | …. | ….. | ||||||||||||||||||||
10 | …. | ….. | 0,00 | |||||||||||||||||||
11 | …. | ….. | ||||||||||||||||||||
12 | …. | ….. | ||||||||||||||||||||
13 | …. | ….. | ||||||||||||||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
K4 | K4 | =+I4-J4 |
L4:L8 | L4 | =+$C$1-C4 |
K5:K8 | K5 | =+K4+I5-J5 |
M8 | M8 | =+SUM(I6:I7) |
N8 | N8 | =+I5 |
S8 | S8 | =+SUM(M8:R8) |
T8 | T8 | =+K8-S8 |
K10 | K10 | =+K8-S8 |