Thread: [Solved] Adding Formula
View Single Post
 
Old 12-11-2015, 12:53 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Windows 7 64bit Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Your formula =IF(ISBLANK(E6);TODAY()-B6;(E6-B6)) becomes

Code:
=IF(ISBLANK(E6);NETWORKDAYS(B6,TODAY()),NETWORKDAYS(B6,E6))
You have the option to add a range to the function, range containing the holidays.

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
Reply With Quote