Sign in to join the conversation:
I have several expense categories in a dropdown list. I am looking for a formula to calculate totals when a given category is selected. I need it search the column and total all of the amounts listed as "other", "airfare", etc...
thanks,
SGF
Try something along the lines of
=SUMIFS(Amount:Amount, [Expense Category]:[Expense Category], Description@row)
Hi Steve,
Try something like this.
Put the formula in a new column or one that isn't included below.
=SUMIF([Expense Category]:[Expense Category]; Description@row; Amount:Amount)
The same version but with the below changes for your and others convenience.
=SUMIF([Expense Category]:[Expense Category], Description@row, Amount:Amount)
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
Steve:
Please note... Andree is correct that the formula would need to go into a cell that is not being referenced within itself.
A second note: You will see that Andree's formula is laid out differently that mine. They will both work the same way. The difference is that Andree used a SUMIF, and I used a SUMIFS.
Whichever you decide to try is entirely up to you, but it is important to be mindful of the changes in syntax when you add on that S vs going without. My formula with the S removed wouldn't work, and Andree's formula with the S added would also fail.
works perfectly!
Thanks!
Excellent!
Happy to help!
Andrée
Hello, On sheet A, I have 2 columns (among many others) . Column1 contains a LEFT-formula that returns 3 digits. Column2 contains a LEFT-formula that returns 3 digits plus a hyphen and then 2 more digits. On sheet B I have a SUMIFS formula that references sheet A. If I reference column2, it works. If I reference Column1 it…
We have a sheet to help track when notary renewals are upcoming for staff and its a fairly simple process. We have a date column that lists the expiration date, a helper column that turns that into a total day count, status, and if an application was recvied. The trigger for this would be when that Days Until Expiration…
I'm assuming that the project plan template uses a weighted average to determine % complete on the various sections of the project as well as the project overall. Does anyone know what formula is actually being used?