Calculating Dates

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
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
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
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,214,834
Messages
6,121,871
Members
449,055
Latest member
excelhelp12345

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