+ Reply to Thread
Results 1 to 15 of 15

Trying to Calculate SLA on Network days

  1. #1
    Registered User
    Join Date
    11-15-2021
    Location
    Gatineau, Canada
    MS-Off Ver
    O365
    Posts
    16

    Trying to Calculate SLA on Network days

    I am trying to Calculate SLA on resolution times.

    Column H - Date/Time Logged - 2022-01-03 07:42:42
    Column I - Date Resolved (sometimes blank) - 2022-01-04 09:00:32
    Column J - Current Date - 2022/01/20 0:00 (would prefer to have this set to 8am on the current date

    I have tried creating this formula
    =IF(ISBLANK(I3),NETWORKDAYS(H3,J3,'Network days'!B510:B523),NETWORKDAYS(H3,I3,'Network days'!B510:B523)) - this was SUPPOSED to calculate the SLA based on if Data resolved is blank and if it is then calculate against today's date.
    I receive a #value! error
    Business hours are 8am - 2pm, no weeekends & no stats are included.

    I'm not new to excel but only familiar with basics, some formulas. I have been doing some research and just can't finalize this. I'm in a new role that will require specific SLA calculations, really would appreciate some assistance. I have the spreadsheet I am using and can share if necessary.

    Thank you in advance.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,426

    Re: Trying to Calculate SLA on Network days

    Please explain what the formula is meant to do (the calculation).

    =IF(ISBLANK(I3),NETWORKDAYS(H3,J3,'Network Days'!A2:A14),NETWORKDAYS(H3,I3,'Network Days'!A2:A14))

    There is no date in either H3 or J3 - NETWORKDAYS needs a start and end date.

    I have no idea what SLA is.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    11-15-2021
    Location
    Gatineau, Canada
    MS-Off Ver
    O365
    Posts
    16

    Re: Trying to Calculate SLA on Network days

    It's because I copied it from another worksheet but left out some identifying cells (nothing relevant to the calculation) so the dates are in e, f, g, sorry for the confusion

    I modified it to reflect the correct cells
    =IF(ISBLANK(F3),NETWORKDAYS('Network Days'!A2:A14, E3,G3),NETWORKDAYS('Network Days'!A2:A14, E3,H3))
    Last edited by H1ghway; 01-20-2022 at 12:02 PM.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,426

    Re: Trying to Calculate SLA on Network days

    The dates in your workbook are not presenting as dates here - they are just text. Change their columns to GENERAL formatting, and if they change to a 5-digit serial number with decimal places, then they are dates. If not, like here, they are just text. You need to fill those columns with real dates.

    AliGW on MS365 Insider (Windows) 64 bit

    E
    F
    1
    Date/Time Logged
    2
    44564.32132
    Real Date
    3
    2022-01-03 14:27:12 Text
    4
    2022-01-03 15:23:54
    Sheet: Sheet1

    I still don't know what your formula is MEANT to be doing or what SLA is.

  5. #5
    Registered User
    Join Date
    11-15-2021
    Location
    Gatineau, Canada
    MS-Off Ver
    O365
    Posts
    16

    Re: Trying to Calculate SLA on Network days

    Not sure what to say, the dates are exported from our ITSM software as dates with year-mm-dd hh:mm:ss format, I have formated the cells to general

    The formula is trying to calulate the time between date/time logged & date resolved (or today's date, if date resolved is blank)
    SLA is service level agreement.

    We have a vendor that is contractually obligated to fulfill requests within a 2 day "SLA" and I'm trying to calculate if they are meeting that on a monthly basis.

    I have to take all the requests, calculate the time to resolution and see if the average is above or below 2 days.
    Last edited by H1ghway; 01-20-2022 at 12:14 PM.

  6. #6
    Registered User
    Join Date
    11-15-2021
    Location
    Gatineau, Canada
    MS-Off Ver
    O365
    Posts
    16

    Re: Trying to Calculate SLA on Network days

    I've re-added the table and a screenshot that shows they're formatted as general.

    appreciate your time, thank you.
    Attached Images Attached Images
    Attached Files Attached Files

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,426

    Re: Trying to Calculate SLA on Network days

    Yes, as I feared - they are text, not dates, so NETWORKDAYS cannot use them.

    Your first job before you can go any further is find a way to import the data with dates and times intact. If that's not possible, then we'll need to look at different options.

    At the moment, your formula is not the issue per se.

  8. #8
    Registered User
    Join Date
    11-15-2021
    Location
    Gatineau, Canada
    MS-Off Ver
    O365
    Posts
    16

    Re: Trying to Calculate SLA on Network days

    I'll pull another extract and post it raw without any formatting, see what happens. Then we'll go from there. I sincereley appreciate the help.

  9. #9
    Registered User
    Join Date
    11-15-2021
    Location
    Gatineau, Canada
    MS-Off Ver
    O365
    Posts
    16

    Re: Trying to Calculate SLA on Network days

    I've added the raw data attachment, I've done nothing with it from my export.
    Attached Files Attached Files

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,426

    Re: Trying to Calculate SLA on Network days

    I’m on my phone so can’t look now. If nobody else chips in overnight, I’ll have a look in the morning.

  11. #11
    Registered User
    Join Date
    11-15-2021
    Location
    Gatineau, Canada
    MS-Off Ver
    O365
    Posts
    16

    Re: Trying to Calculate SLA on Network days

    Have a nice evening, It's probably 530PM there?

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,426

    Re: Trying to Calculate SLA on Network days

    Yes - just gone! Going offline now. 😊

  13. #13
    Forum Contributor John Vergara's Avatar
    Join Date
    01-17-2022
    Location
    Colombia
    MS-Off Ver
    365
    Posts
    200

    Re: Trying to Calculate SLA on Network days

    Hi H1ghway!

    Several things you should keep in mind
    1. Put the TODAY() function in one cell, and use this cell reference into your formula.
    2. The Value in F2 is NOT blank. Instead, use F2=""
    3. Put the IF condition into the formula, this shortened the function.
    4. Convert the 'Network Days'! Data into a table, making the range dynamic.

    The formula I think you need is this:
    =NETWORKDAYS(E2,IF(F2="",K$1,F2),'Network Days'!A$3:A$15)

    Check file. Blessings!
    Attached Files Attached Files

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,426

    Re: Trying to Calculate SLA on Network days

    Quote Originally Posted by H1ghway View Post
    I've added the raw data attachment, I've done nothing with it from my export.
    Select column C. Go to Data | Text to Columns. Press Next twice, then select Date DMY and Finish. You should now have proper date time values to work with.

    Let me know how you get on.
    Last edited by AliGW; 01-21-2022 at 04:50 AM.

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,426

    Re: Trying to Calculate SLA on Network days

    So, how are we doing? Did any of this help?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Edit VBA to calculate network days between different dates.
    By steve400243 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2020, 04:07 PM
  2. Network days
    By melissaoi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-23-2017, 09:32 AM
  3. [SOLVED] calculate total number of days between two days based on 365 days year
    By aparunkumar in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-14-2016, 12:51 AM
  4. network days
    By fentiger79 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-28-2014, 04:54 PM
  5. [SOLVED] Subtracting Hold Days from Network Days Formula
    By david1987 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-17-2012, 08:30 AM
  6. Network days
    By fithawk in forum Excel General
    Replies: 13
    Last Post: 11-05-2011, 06:17 PM
  7. [SOLVED] Network Days
    By dinadvani via OfficeKB.com in forum Excel General
    Replies: 3
    Last Post: 07-21-2006, 06:10 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1