Calculating Dates

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

applebyd

Active Member
Joined
May 27, 2002
Messages
348
Ah one of the more useful Microserf commands.

You need to use NETWORKDAYS(Date1,Date2)

Or NETWORKDAYS(Cell1,Cell2) if you will.

Have fun.

DaveA
:)
 
Upvote 0

razzandy

Active Member
Joined
Jun 26, 2002
Messages
390
Office Version
  1. 2007
Platform
  1. Windows
If you ahve 28/08/02 in cell A1 and 27/09/02 in cell b1 then in cell c1 type =b1-a1 and format the cell as General or number! :)

Hope this helps?

Ryan UK :wink:
 
Upvote 0

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
On 2002-08-28 05:05, MBallentine wrote:
I would like to return the number of week days between two dates.

=B1-A1

where A1 < B1.

If you mean workdays, then:

=NETWORKDAYS(A1,B1,Holidays)

where Holidays refers to a range that houses the holiday days.
 
Upvote 0

Forum statistics

Threads
1,191,500
Messages
5,986,921
Members
440,065
Latest member
JCH136

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
Top