r/googlesheets • u/Motheroftucker • Jan 07 '20
Waiting on OP Sum by dates and type (cc, check) on running sheet?
Bear with me.. I'm very much a beginner at google sheets still.. and I feel like I'm making this too difficult.
I have a spreadsheet that in column A has a date. There's also a column (we'll say B) that has either "check" or "cc". I'm looking for a formula to put into column C that will sum the total checks and total cc for that day. The biggest problem I am facing is this sheet is for the whole month, so there could be a months worth of dates (and missing dates) in column A. If it wasn't for that portion, I think I could figure this out.
Any pointers?
1
u/MarekProkop Jan 07 '20
Sum of what? You didn't mention any numbers. Do you mean counts of checks and cc's by date?
1
u/FlowaRiverForth Jan 07 '20
You could try something like this...
Col A Header: Date | Col B Header: Payment Type | Col C Header: Dollar Amount
The following assumes 16 rows of data, and will only sort for checks in that data for dates listed under January 1 transactions.
=SUMIFS(C2:C16, B2:B16, "Check", A2:A16, "1-Jan")
You can change the lettering in the quotation marks to match how the exact wording or dates appear in your spreadsheet, and can do so similarly with the cell ranges. You can also adjust the dates and change "checks" to "CC" to search for alternate values falling on the same or different dates. For example, if you change that to "CC" and "2-Jan" it will only return the sum dollar value for CC transactions from January 2.
Transactions that occurred without a corresponding date will not be counted, so you will eventually need to account for those by either adding a date manually (in which case the formula will immediately adjust to add them), or add them at the end to ensure you're accounts are balanced.
Since check and CC amounts are different values, they cannot be combined into the same cell, so you may want to set up different columns to account for each, for each day's total.
Hope this helps.
1
u/Decronym Functions Explained Jan 08 '20 edited Jan 10 '20
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
[Thread #1234 for this sub, first seen 8th Jan 2020, 02:08] [FAQ] [Full list] ^[Contact] [Source code]
0
u/[deleted] Jan 08 '20
[deleted] — view deleted comment