Here's a preview of the spreadsheet I'm editing in Google Drive:
The transaction type cell has a value of "debit" if the row is for an expense, and "credit" if it is income.
I would like a script to go through each row, and add a minus sign before the value in the "amount" column, if the value in the "transaction Type" column has a value of "debit".