I am trying to use Applescript to help automate cleanup of a spreadysheet
I have a spreadsheet with all the data in a single column, basically a monetary amound and a date. I am trying to separate them out of the single column into columns A and B
Basically Every 3 rows is a dollar amount, and the following every three rows is date. The 3rd set is junk data that can be deleted with find and replace to "" (black) which I have working. The raw data looks like this.
$500.00
January 1 2023
-JUNKdata-
$400.00
January 2 2023
-JUNKdata-
$600.00
January 3 2023
-JUNKdata-
I am trying to get it to translate to (with | being cell separator between A and B)
$500.00 | January 1 2023
$400.00 | January 2 2023
$600.00 | January 3 2023
and so on.
Is there an easy way to do this with Applescript? I was able to get find and replace working to get ride of the junk data that is always the same data but beyond that I'm a bit lost.
I am not a programmer so I am completely lost and trying to look at tutorials I can't seem to find commands I am looking for. I have tried to use select, copy, paste with ranges and manually typing out the rows such as A1, A4, A7) but I keep getting errors. I'm trying to be hacky with it but I can't even get that far.