Good morning all.
Recently I have been tasked with the rarity of a physical bank statement. the easy answer to my question is to get the statement in CSV but this is not always possible.
The statement in question when scanned from PDF generates up to 6 lines for the transaction description example below. I was wondering if there is a way to make it one line per transaction combining the multiple description cells and deleting the blank lines left behind.
I almost have it in my head that the date cell needs to be read and count empty cells below, if empty cells are detected cut the data for the last 4 cells and add to the line above until the line is a single line, delete the lines just made empty and repeat.
Sounds simple when I say that but my coding skills are lacklustre at best. After doing some Googling Concatenate function appeared frequently.
Any idea/pointers in the right direction would be appreciated.
Many thanks
Recently I have been tasked with the rarity of a physical bank statement. the easy answer to my question is to get the statement in CSV but this is not always possible.
The statement in question when scanned from PDF generates up to 6 lines for the transaction description example below. I was wondering if there is a way to make it one line per transaction combining the multiple description cells and deleting the blank lines left behind.
I almost have it in my head that the date cell needs to be read and count empty cells below, if empty cells are detected cut the data for the last 4 cells and add to the line above until the line is a single line, delete the lines just made empty and repeat.
Sounds simple when I say that but my coding skills are lacklustre at best. After doing some Googling Concatenate function appeared frequently.
Any idea/pointers in the right direction would be appreciated.
Many thanks
Date | Details | Description | Withdrawn | Paid In | Balance |
4/1/2021 | Online Transaction | Station | |||
Pub | |||||
VIA MOBILE - PYMT | 1,000.00 | 1,525.10 | |||
4/1/2021 | Charges | 11DEC A/C xxxxxx | 8.00 | 1,517.10 | |
05/01/2021 | OnLine Transaction | John Smith | |||
WAGE | |||||
VIA ONLINE - PYMTB | 715.00 | 2,232.10 |