Count Days between Days

whiteevo4

Board Regular
Joined
May 12, 2010
Messages
77
Hello all,

I was wondering if you can help me. I need to know how to count the amount of days between Monday to Friday? Also, I need it to count days over a weekend.

Thank you.;)
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Perhaps you mean something like this

Excel Workbook
ABCD
119/09/2011Weekdays11
220/09/2011Total days15
321/09/2011Weekend days4
422/09/2011
523/09/2011
624/09/2011
725/09/2011
826/09/2011
927/09/2011
1028/09/2011
1129/09/2011
1230/09/2011
1301/10/2011
1402/10/2011
1503/10/2011
Sheet2
 
Upvote 0
If cell 1A contains Monday, cell 1B Friday, I need cell 1C to count 4 days between Monday to Friday.

Does this help?

Thanks.
 
Upvote 0
Or maybe with a lookup table

Excel Workbook
ABCDEFG
1MondayFriday4Sunday1
2Monday2
3Tuesday3
4Wednesday4
5Thursday5
6Friday6
7Saturday7
Sheet4
 
Upvote 0
Without a lookup table,

=MOD((MATCH(B1,TEXT(WEEKDAY({1,2,3,4,5,6,7}),"dddd"),0)-MATCH(A1,TEXT(WEEKDAY({1,2,3,4,5,6,7}),"dddd"),0))+7,7)

this also works over weekends without giving a negative result.
 
Upvote 0
Obviously I was assuming in my last post that there is an actual date in the cells and not just text .
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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