I got code from this forum to show data on userform for specific sheet , but the problem will contain blank rows among separated ranges and I just want populating TOTAL row for each range for each client and exclude data before TOTAL row .
the separated ranges could be 20000 ranges.
here is data in sheet
on userform should exclude data before TOTAL row for each separated range . just show client name and TOTAL row
thanks
the separated ranges could be 20000 ranges.
here is data in sheet
DIVIDED1.xlsm | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | DATE | INVOICE NO | CLIENT NO | DESCRIBE | DEBIT | CREDIT | BALANCE | ||
2 | 01/01/2022 | - | ABDEND1 | OPENNING | 20000 | - | 20000 | ||
3 | 04/01/2022 | PA-B3 | ABDEND1 | PA | 20000 | - | 40000 | ||
4 | 05/01/2022 | SA-B35 | ABDEND1 | SA | - | 1000 | 39000 | ||
5 | TOTAL | - | - | - | 40000 | 1000 | 39000 | ||
6 | |||||||||
7 | |||||||||
8 | DATE | INVOICE NO | CLIENT NO | DESCRIBE | DEBIT | CREDIT | BALANCE | ||
9 | 14/01/2022 | PA-B352 | ABDEND10 | PA | 140 | - | 140 | ||
10 | 14/01/2022 | PA-B352 | ABDEND10 | PA | 100 | 240 | - | ||
11 | TOTAL | - | - | - | 240 | 240 | - | ||
12 | |||||||||
13 | |||||||||
14 | DATE | INVOICE NO | CLIENT NO | DESCRIBE | DEBIT | CREDIT | BALANCE | ||
15 | 14/04/2022 | PA-B442 | ABDEND100 | PA | 1040 | - | 1040 | ||
16 | TOTAL | - | - | - | 1040 | - | 1040 | ||
17 | |||||||||
18 | |||||||||
19 | DATE | INVOICE NO | CLIENT NO | DESCRIBE | DEBIT | CREDIT | BALANCE | ||
20 | 30/09/2024 | PA-B1342 | ABDEND1000 | PA | 10040 | 10040 | |||
21 | 30/09/2024 | SA-B1342 | ABDEND1000 | SA | 40 | 10000 | |||
22 | 01/10/2024 | SA-B1343 | ABDEND1000 | SA | 1000 | 9000 | |||
23 | TOTAL | - | - | - | 10040 | 1040 | 9000 | ||
splitting |
on userform should exclude data before TOTAL row for each separated range . just show client name and TOTAL row
thanks