SUM IF - Quarterly Calculations

dixiebritt

Board Regular
Joined
Jan 8, 2014
Messages
63
I am needing a formula in my revenue column is only added for the Quarter chosen in column A

[TABLE="width: 500"]
<tbody>[TR]
[TD]Quarter[/TD]
[TD]Revenue[/TD]
[/TR]
[TR]
[TD]Q1[/TD]
[TD]500[/TD]
[/TR]
[TR]
[TD]Q2[/TD]
[TD]250[/TD]
[/TR]
[TR]
[TD]Q3[/TD]
[TD]350[/TD]
[/TR]
[TR]
[TD]Q4[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]Q1[/TD]
[TD]2500[/TD]
[/TR]
</tbody>[/TABLE]

I want a formula that will extract only the revenue for each time "Q1" is listed. This can not be a pivot table, as it is pulling the data into another worksheet.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Question - what if my data is on-going and I want my formula to auto calculate based on new entries. for example i have 100 rows, but only 5 rows of data as listed above. then next week i add another 5 rows of data with the same criteria. i want my formula to auto calculate based on data i put in. I changed the row number from 5 to 100, but it is returning an "value" error code?????
 
Upvote 0
It should work! Did you change the 5 to 100 in both parts? They have to be the same size.

=sumifs($B$2:$B$100,$A$2:$A$100,"Q1")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top