Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Account aging formula using workdays M-F

I need a formula that calculates the working days (A) from start to todays
date and (B) from start to completion. I also don't want a value displayed
until at least one date is entered so it doesn't corrupt my avg formula.
I'm currently using =IF(AND(D3="",C3=""),"",IF(D3="",TODAY()-C3,D3-C3)) in
column C and it returns the values listed below.

I want it to return only working days.
A B C
4/15/10 4/23/10 8
4/20/10 3

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 457
Default Account aging formula using workdays M-F

For an inclusive count (counts both the starting date and finish date as a
workday)
=IF(A4="","",NETWORKDAYS(A4,IF(B4="",TODAY(),B4)))

Exclusive count:
=IF(A4="","",NETWORKDAYS(A4,IF(B4="",TODAY(),B4))-1)

Note that the NETWORKDAYS function is part ot the Analysis ToolPak add-in.
Also, if you want, that function supports the use of using a range to
declare holidays (days that you don't want to count as workdays)

--
Best Regards,

Luke M
"HFST04" wrote in message
...
I need a formula that calculates the working days (A) from start to todays
date and (B) from start to completion. I also don't want a value displayed
until at least one date is entered so it doesn't corrupt my avg formula.
I'm currently using =IF(AND(D3="",C3=""),"",IF(D3="",TODAY()-C3,D3-C3)) in
column C and it returns the values listed below.

I want it to return only working days.
A B C
4/15/10 4/23/10 8
4/20/10 3

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Account aging formula using workdays M-F

Check Excel Help for worksheet function NETWORKDAYS(). It will even allow
you to set up a list of holidays and exclude them from the count of days
along with excludingn weekends.
Note that this function is part of the Analysis ToolPak add-in, so you'll
need to 'install' that add-in before you can actually use the function. Look
under Tools -- Add-ins in pre-2007 Excel,


"HFST04" wrote:

I need a formula that calculates the working days (A) from start to todays
date and (B) from start to completion. I also don't want a value displayed
until at least one date is entered so it doesn't corrupt my avg formula.
I'm currently using =IF(AND(D3="",C3=""),"",IF(D3="",TODAY()-C3,D3-C3)) in
column C and it returns the values listed below.

I want it to return only working days.
A B C
4/15/10 4/23/10 8
4/20/10 3

Thanks

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
Aging Formula Help klmiura Excel Worksheet Functions 4 June 23rd 08 11:08 PM
Aging Formula Sue Excel Discussion (Misc queries) 5 May 2nd 08 10:49 PM
Aging Formula Steve Excel Discussion (Misc queries) 6 July 7th 07 12:24 AM
aging formula Drew Excel Discussion (Misc queries) 3 April 13th 07 11:12 PM
WHAT FORMULA DO I USE FOR AGING A STATEMENT ewalbers Excel Worksheet Functions 1 August 11th 06 05:41 PM


All times are GMT +1. The time now is 11: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"