SUMIFS multiple criteria

jcm900

New Member
Joined
Oct 13, 2019
Messages
5
Hi, I have two SUMIF formulas

columns G, and F in sheet "Order details" are numbers and so is value in D2 but Column F in "Orders" contains dates.

The following formulas work by themselves but I need to combine them.

=SUMIF('Order Details'!F:F,D2,'Order Details'!G:G)


=SUMIF(Orders!F:F,">"&TODAY(),'Order Details'!G:G)

I have tried to combine them ( see below) with SUMIFS but an error is returned - it doesnt seem to like the date part.

=SUMIFS('Order Details'!G:G,'Order Details'!F:F,B2,Orders!F:F,">"&TODAY())

Many thanks

Phil

 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Just to clarify this is the formula combined that isn't working with D2 substituted for B2 as it should be.

=SUMIFS('Order Details'!G:G,'Order Details'!F:F,D2,Orders!F:F,">"&TODAY())

Thanks

Phil
 
Upvote 0
That formula works for me, in what way doesn't it work for you?
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,487
Members
448,967
Latest member
visheshkotha

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