Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default IF(AND) with NETWORKDAYS

Hi,

Sure,

=IF(AND(I6="",J6=""),"",IF(AND(I6="Half
Day",J61),0.5,IF(AND(I6<1,J61),1,NETWORKDAYS(I6, J6,L1:L4)+1)))

Here L1:L4 is a range containing any holidays. this function is part of the
Analysis ToolPak so that needs to be attached for you or anyone you send this
to.

If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"John" wrote:

Hi Everyone
I'm using this formula in a Vacation Planner, its working fine but I would
like to know if I
can incorporate "NETWORKDAYS" in the same formula.

=IF(AND(I6="",J6=""),"",IF(AND(I6="Half
Day",J61),0.5,IF(AND(I6<1,J61),1,J6-I6+1)))
Thanking you in advance
John


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default IF(AND) with NETWORKDAYS

Hi Shane
Thank you very much, its working perfectly.
Regards
John
"ShaneDevenshire" wrote in
message ...
Hi,

Sure,

=IF(AND(I6="",J6=""),"",IF(AND(I6="Half
Day",J61),0.5,IF(AND(I6<1,J61),1,NETWORKDAYS(I6, J6,L1:L4)+1)))

Here L1:L4 is a range containing any holidays. this function is part of
the
Analysis ToolPak so that needs to be attached for you or anyone you send
this
to.

If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"John" wrote:

Hi Everyone
I'm using this formula in a Vacation Planner, its working fine but I
would
like to know if I
can incorporate "NETWORKDAYS" in the same formula.

=IF(AND(I6="",J6=""),"",IF(AND(I6="Half
Day",J61),0.5,IF(AND(I6<1,J61),1,J6-I6+1)))
Thanking you in advance
John



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
NETWORKDAYS albertmb Excel Discussion (Misc queries) 3 March 13th 06 09:33 PM
NETWORKDAYS = 0 ann Excel Discussion (Misc queries) 4 October 3rd 05 10:07 PM
Help on Networkdays Susan Hayes Excel Worksheet Functions 1 September 8th 05 03:34 AM
NETWORKDAYS Help rsteiner1 Excel Worksheet Functions 0 August 10th 05 07:08 PM
Networkdays? Steve Excel Discussion (Misc queries) 6 August 6th 05 01:53 AM


All times are GMT +1. The time now is 11:37 PM.

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

About Us

"It's about Microsoft Excel"