#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Matt S
 
Posts: n/a
Default Date function

I need to put together a function or formula that lets me work out how many
working hours there are between now and a given date.
Has anybody got any suggestions as to the best way of doing this?
It seems like the sort problem that someone must have encountered before.
Any assistance gratefully received.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default Date function


Do you want to consider times or just dates?

If the latter then

=NETWORKDAYS(NOW(),A1)

will give you the number of working days from today until the date in
A1 (including both today and A1) so if you have a working day of 8
hours you just need

=NETWORKDAYS(NOW(),A1)*8 to give the number of hours.

You can make it more complicated and include times if you wish.....

note: NETWORKDAYS requires Analysis ToolPak add-in


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=530287

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date function in Excel that updates only when a doc is changed? torino0020 Excel Worksheet Functions 1 January 5th 06 03:00 AM
Date Function Khangura Excel Discussion (Misc queries) 1 December 21st 05 09:33 AM
date format and the RIGHT function Rich Hayes Excel Worksheet Functions 0 December 19th 05 11:06 AM
Date function Dee Excel Worksheet Functions 2 July 13th 05 03:32 PM
Is there a function to show future date taxmom Excel Worksheet Functions 2 March 4th 05 09:23 PM


All times are GMT +1. The time now is 08:21 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"