Log Google Sheets rows by credit status and amount

Utilities

What it does

When someone adds a row to a Google Sheets spreadsheet, this automation checks if the row has an ID. It filters by credit status and amount, then logs matching rows to the job report.

Who it's for

Finance teams who need to categorize and track spreadsheet entries by payment type and transaction size.

How teams use this

Track debit transactions in ledger

Filter rows where credit status is false and amount is positive, then log them to identify all debit entries. The team reviews the job report to verify transaction categorization.

Monitor high-value transactions only

Add a size condition to the filter so only rows with amounts above a threshold are logged. This reduces noise and focuses the team on significant transactions.

Route flagged rows to separate sheet

Send matching rows to a second Google Sheets tab instead of logging them, creating a live view of filtered transactions. The same filter logic applies to a new destination.

How it works

  1. Detect new row in sheet. A new row is added to the Google Sheets spreadsheet in real time, starting the automation.
  2. Search for rows with ID present. Query Google Sheets to find all rows where the ID column contains a value, narrowing the dataset before processing.
  3. Filter by credit status and amount. Loop through each row and check if credit status is false and amount does not contain a minus sign, logging matches to the job report.