Import Prepared CSV

Overview

This is the script I use to manually import my Canadian transactions.

You install it the same way you install Simple CSV Import, by copying the Code.js and Index.html files into a new Apps Script project.

You choose a prepared CSV file from your computer and it shows a preview of the number of new vs. duplicate transactions and which headers match before you continue.

Why?

I wrote it because the existing tools all address preparing CSV files: remapping columns to match the Transactions sheet, etc.

… but in my case preparing the CSV files was already well addressed by existing tools like Excel and scripts, but importing the prepared files remained fraught. I found copying and pasting and detecting duplicate transactions error prone for example.

Preparing data for import can in general be a broad topic … I wanted something that solved the orthogonal problem of importing it once prepared.

Like Import CSV Line Items Basic Bank CSV, this script:

  • Maps columns to the Transactions sheet by (case-sensitive) header name.
  • Derives the month and week columns from the date, and the description from the full description.

… but unlike it, this script:

I’m grateful for any feedback especially if you also find this useful!

Next steps

Improve the UI, maybe as a sidebar like Import CSV Line Items vs. a dialog like it is now?

Wow @jack.bates, this looks amazing! Thank you for sharing your solution!

-Alice
Tiller Evangelist

Bluesky, Instagram, Facebook, LinkedIn

1 Like