+ Reply to Thread
Results 1 to 5 of 5

Formula to Identify Out Of Hours

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-24-2006
    Location
    Sevenoaks, Kent
    MS-Off Ver
    Office 365 ProPlus
    Posts
    459

    Formula to Identify Out Of Hours

    Good afternoon,

    I need to design a formula that will tell me if some inbound calls that come into my call centre are within working hours

    I have created a formula
    =IF(AND(Y2>=8,Y2<=20),"0", "1")
    that will tell me between to static times weather its inside or outside of normal office hours giving it a value of 0 or 1.

    In column AA i have the day of the week and want to add this into the formula, so i now want to say if basically if its Saturday
    =IF(AND(Y2>=8,Y2<=13),"0", "1")
    but if any other day than
    =IF(AND(Y2>=8,Y2<=20),"0", "1")
    Thanks in advance

    DJ

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,730

    Re: Formula to Identify Out Of Hours

    Try this version

    =IF(AND(Y2>=8,Y2<=IF(AA2="Saturday",13,20)),0,1)
    Audere est facere

  3. #3
    Forum Contributor
    Join Date
    08-24-2006
    Location
    Sevenoaks, Kent
    MS-Off Ver
    Office 365 ProPlus
    Posts
    459

    Re: Formula to Identify Out Of Hours

    Thank you very much. A quick question is it easy to add if Sunday than 1 as Sunday will always be out of hours?

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,730

    Re: Formula to Identify Out Of Hours

    You could check that first, i.e.

    =IF(AA2="Sunday",1,IF(AND(Y2>=8,Y2<=IF(AA2="Saturday",13,20)),0,1))

  5. #5
    Forum Contributor
    Join Date
    08-24-2006
    Location
    Sevenoaks, Kent
    MS-Off Ver
    Office 365 ProPlus
    Posts
    459

    Re: Formula to Identify Out Of Hours

    Thank you, much appreciated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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