Formula will not work on last day of month

john tempest

Board Regular
Joined
Nov 20, 2005
Messages
54
Excel Formula:
=SUMIFS(H16:H250,K16:K250,">="&T10,K16:K250,"<="&U10)
I am using the above formula to look up a date and complete a sum, which works ok until it comes to the last day of the month which it will not record. In this case T10 is the 1st of september and U10 is the 30th of september.
If a month has 31 days it does the same and will not record the 31st. Am I missing something really simple here, but what ever it is I cannot see it
Regards John
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Do the dates in col K contain a time element?
 
Upvote 0
In that case you need to use
Excel Formula:
=SUMIFS(H16:H250,K16:K250,">="&T10,K16:K250,"<"&U10+1)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,545
Messages
6,125,448
Members
449,227
Latest member
Gina V

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