Having problems using SUMIFS with date range and multiple criteria - please help!

thelittleredfox

New Member
Joined
Dec 15, 2014
Messages
17
Hi,

I've got a worksheet called 'data sheet' where:

column W contains amounts of money
column A contains "TRUE" and "FALSE" results
column H contains dates

I want to SUM all the payments in column W which also have a value of "TRUE" in column A, AND which fall within a specificed date range.

The formula needs to go on a separate summary sheet within the spreadsheet. The begin and end dates for the date range are entered into cells F5 and I5 on this summary sheet.

I've tried the following formula:

=SUMIFS('data sheet'!W:W,'data sheet'!H:H,">="&F5,'data sheet'!H:H,"<="&I5,'data sheet'!A:A,"TRUE")

but I can't get it to work. When I broke it down, the first part was working, but I couldn't get more than one criteria to work at a time. When I tried to insert either the less than or equal to date or the true or false criteria, I just ended up with a 0 result.

What am I doing wrong? Is there a good way of doing this? Thanks for your help!
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Does this work?

=SUMIFS('data sheet'!W:W,'data sheet'!H:H,">="&F5,'data sheet'!H:H,"<="&I5,'data sheet'!A:A,TRUE)

Note removal of double quotes
 
Upvote 0
Hello,

No it doesn't work, even if I remove the TRUE criteria completely I still can't get the second half of the date bit working?
 
Upvote 0
Are the dates in Col H in Excel date format? ie: if you change the format to General, does the display value equal something like 42079
 
Upvote 0
how about something like...

=SUMIFS('data sheet'!W:W,'data sheet'!H:H,">="&INT(F5),'data sheet'!H:H,"<="&INT(I5),'data sheet'!A:A,TRUE)

maybe ?
 
Upvote 0
Could you upload the file to a file sharing service? Make sure anyone with the link can open it without a password.
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,270
Members
452,628
Latest member
dd2

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