SUMIFS a date is between 2 dates

JustHooch

New Member
Joined
May 17, 2018
Messages
44
I am having trouble summing a column if a date is between (or equal to) a date range.

The column to total is P
The start date if the range is in column Q
The end date of the range is in column R

PQR
TimeStart DateStop Date
Row 30:207/16/20187/17/2018
Row 40:307/16/20187/16/2018
Row 50:107/17/20187/20/2018
Row 61:157/18/20187/19/2018
Row 70:057/19/20187/20/2018

<tbody>
</tbody>


The dates to compare are
Dates to compare to is in Cell E4, F5, F6, F7

EFGHI
Row 47/16/20187/17/20187/18/20187/19/20187/20/2018
Row 5sumsumsumsumsum

<tbody>
</tbody>

The formula needs to include the start and stop date listed above as well as any date between them.
Example Cell E5 should sum to be 0:20 and Cell H5 should sum to be 1:30

The formula I was working with is "=SUMIFS(P3:P7,Q3:Q7,">="&E4,R3:R7,"<="&E4) but is not working
 
Last edited:

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Try changing your formula to:
Excel Workbook
EFGHIJOPQR
1
2TimeStart DateStop Date
30:207/16/20187/17/2018
47/16/20187/17/20187/18/20187/19/20187/20/20180:307/16/20187/16/2018
50:500:301:251:300:150:107/17/20187/20/2018
61:157/18/20187/19/2018
70:057/19/20187/20/2018
Sheet
 
Upvote 0

Forum statistics

Threads
1,215,491
Messages
6,125,098
Members
449,205
Latest member
ralemanygarcia

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