I made a budget spreadsheet that automatically updates from a form I fill out. I'm trying to use query to sum specific cells since sumif doesn't automatically include new entries and query would be easier to change each month.
Column A is hidden since it just contains the timestamp information. Column B is the date that I made the purchase. Column C is the category of the purchase. Column D is the amount I spent.
And here is the query formula I'm using to try to add all income together:
=query(C152:D184,"Select Sum (Col4) where Col3='Income'")
But I get the error "Unable to parse query string for Function QUERY parameter 2: NO_COLUMN: Col4". Any advice?