count date between two date including start and end date

john5599

Board Regular
Joined
Mar 11, 2010
Messages
222
I need to count two period of date 22-12-2011 to 23-01-2012. including start and end date. Can anyone give a formula. 33 days are there.
=DATEDIF(E68,F68,"D") will give only 32 days. Pls. help me.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
I need to count two period of date 22-12-2011 to 23-01-2012. including start and end date. Can anyone give a formula. 33 days are there.
=DATEDIF(E68,F68,"D") will give only 32 days. Pls. help me.
One way...

A2 = 22-12-2011
B2 = 23-01-2012

Then:

=B2-A2+1

Format as General or Number
 
Upvote 0
Those formulas give the difference between two dates. If you want to include the start and end dates then you have to add 1.
 
Upvote 0

Forum statistics

Threads
1,222,630
Messages
6,167,191
Members
452,104
Latest member
jadethejade

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