![]() |
#1
|
|||
|
|||
![]()
Hi,
I have this formula which helps to count the no.of days, but i notice it includes the weekends & holidays. How do i exclude the weekends & holidays to my current formula? =IF(ISBLANK(AG123),TODAY()-AD123,(AG123-AD123)) Thanks in Advance |
#2
|
||||
|
||||
![]()
Have a look at the NETWORKDAYS function
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#3
|
|||
|
|||
![]()
Hi,
Still don't get it. Here i attached the spreadsheet. If you see cell C6, its counting 7 inclusive of weekends. How can i exclude the weekends without messing up the current formula? Please help ![]() |
#4
|
||||
|
||||
![]()
Your formula =IF(ISBLANK(E6);TODAY()-B6;(E6-B6)) becomes
Code:
=IF(ISBLANK(E6);NETWORKDAYS(B6,TODAY()),NETWORKDAYS(B6,E6)) Check the function's syntax to see how it works
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#5
|
|||
|
|||
![]()
Try this:
=IF(ISBLANK(E6),TODAY()-B6,NETWORKDAYS(B6,E6,$F$6:$F$18)) |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help with dragging a formula and changing a reference column as I drag the formula. | LupeB | Excel | 1 | 10-22-2015 03:02 PM |
![]() |
TimmiAndrew | Excel | 2 | 09-16-2015 10:21 AM |
![]() |
jolinchew | Word | 8 | 07-12-2013 11:46 PM |
![]() |
saravananiyyanar | Excel | 3 | 05-04-2011 08:31 AM |
![]() |
sussertown | Office | 2 | 06-13-2009 01:10 AM |