Excluding weekends and holidays from the result of formula =IF(BC456="OPEN",TODAY()-Z456,AU456-Z456)

anniemercado18

New Member
Joined
Apr 7, 2016
Messages
4
Hi all. seeking for your help. I am using =IF(BC456="OPEN",TODAY()-Z456,AU456-Z456) to get the number of days a case is open to date. However the result is in calendar days. Is there any way to exclude the weekends and holidays from the result of the said formula?

Thanks
Annie
 

FormR

MrExcel MVP
Joined
Aug 18, 2011
Messages
6,220
Office Version
365
Platform
Windows
You could try this:

=IF(BC456="OPEN",NETWORKDAYS(Z456,TODAY(),holidays),AU456-Z456)

Substitute holidays for a range of cells that list your holiday dates or create a named range called holidays that lists your holiday dates.
 

Forum statistics

Threads
1,082,601
Messages
5,366,571
Members
400,902
Latest member
fathima

Some videos you may like

This Week's Hot Topics

Top