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
Hi, I am trying to create a sheet from data that is originally held in .csv files. My goal is to make it so that transferring the data to my sheet should be as simple as just copy and paste. My issue is that two of the fields that I need to copy over are reported in scientific notation (1.3E+004) and I am trying to figure…
I searched the community and did not see a formula that calculated Quarter based on a Start and a Finish date while also accounting for cases where the year for the Start and Finish date differ. The formula below handles that. A few notes … It assumes that Finish is always >= Start. The entire formula is wrapped with…
i am not good with writing formulas within a sheet. I asked the AI tool in the sheet to help me write a formula and I am getting a Circular reference back. I'm trying to have it write the following formula for me. If the column "Tracking #" is not blank, change Column "Deployment Phase" to "Shipped" I have tried adding in…