SUMIFS formula variation

seriousdamage

Board Regular
Joined
Aug 14, 2005
Messages
58
Hello,

I use a SUMIFS formula to sum various lines in a data file by choosing multiple criteria like Month, Quarter and Year
However there are situations where I don't need to select all 3 criteria, but only want the year, in this case the formula returns a value of zero.

How can I get around this?

Many Thanks
Nic
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Re: SUMIFS formula variation help

=SUMIFS(Transactions!K2:K4,Transactions!C2:C4,'VAT summary'!D2,Transactions!H2:H4,'VAT summary'!D11,Transactions!D2:D4,'VAT summary'!E2,Transactions!E2:E4,'VAT summary'!F2)
 
Upvote 0
Re: SUMIFS formula variation help

Ok whats in the various criteria cells? The ones in VAT summary. Paste those here.
 
Upvote 0
Re: SUMIFS formula variation help

Not sure how to do it in a way that looks good :

Transactions!K2:K4 = invoice net amounts in euros
Transactions!C2:C4 = Months (October 2018)
Transactions!H2:H4 = Quarters (Q12018)
Transactions!D2:D4 = Years (2018)

The criteria for the 3 conditions are picked in the tab 'VAT summary' from a drop down list and are besically Month, quarter and year

Does this help?

Thanks
Nic
 
Upvote 0
Re: SUMIFS formula variation help

So how can that one formula do quarters and months? Its not possible far as I can see.
 
Upvote 0
Re: SUMIFS formula variation help

What formula can I use to select and sum data from a data file by making one and/or more selections?
 
Upvote 0
Re: SUMIFS formula variation help

If the cells in Vat summary are dropdowns do you have a blank for when you dont need the month or quarter just the year?
 
Upvote 0

Forum statistics

Threads
1,214,634
Messages
6,120,659
Members
448,975
Latest member
sweeberry

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