Netwokdays count since an approval request was issued.

aaboueid
aaboueid ✭✭✭
edited 12/09/19 in Formulas and Functions

Hi,

I am using an "Issued" date column as a trigger to send approval requests. I am trying to capture the number of days since the request was issued in the "Age" column, where I have this formula:

=NETWORKDAYS(Today(),[Issued]13,[holidays])

The result i am getting is Unparseable. Help please!

Capture.JPG

Comments

  • Mike Wilday
    Mike Wilday ✭✭✭✭✭✭
    edited 02/26/18

    You can remove the [holidays] part of that formula. The [Holidays] section is the place where you would put dates you exclude as holidays. https://help.smartsheet.com/function/networkdays The help doesn't list how you put those dates... the proper way to hard code a date in a formula is as below. 

    ie. =NETWORKDAYS(TODAY(), DATE(2018, 2, 28), DATE(2018, 2, 27))

    If you put a date (I've hardcoded them in this formula) after the 2nd comma, it recognizes those dates as holidays. You could add multiple dates after the 2nd one and each one would be removed from the number of days. 

  • aaboueid
    aaboueid ✭✭✭

    Mike, thank you for your reply. 

    I removed the [Holidays] as you have suggested. I am trying to add an "if(IsBlank("statement to check if [Issued] on row 19 is blank,

    if it is not blank to count the number of days since the approval request was issued. Here is what i came up with:

    =If(IsBlank(Issued19,"",NETWORKDAYS(TODAY(),Issued19))))

     

    it is coming back #UNPARSEABLE, what am I missing?

    Thank you in advance.

    Ayman

     

  • Mike Wilday
    Mike Wilday ✭✭✭✭✭✭

    =IF(ISBLANK(Issued19), "", NETWORKDAYS(TODAY(), Issued19))

    You have to close the ISBLANK before continuing with the else statement. 

  • aaboueid
    aaboueid ✭✭✭

    Perfection! Thanks you again Mike.

  • Mike Wilday
    Mike Wilday ✭✭✭✭✭✭

    You're welcome! 

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!