+ Reply to Thread
Results 1 to 3 of 3

Formula that will count response days with conditions

  1. #1
    Registered User
    Join Date
    05-04-2013
    Location
    Manila
    MS-Off Ver
    Excel 2007
    Posts
    2

    Exclamation Formula that will count response days with conditions

    Hi Excel Gurus,

    Anyone here that could help me on my problem. I have a tracker and would like to add a formula that will count the response days with certain conditions. For example, 4 queries that were answered within 2 working days should have a "yes" values on the cell. Please see attached file that could probably help you. Thanks in advance.

    zince
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Formula that will count response days with conditions

    hi zince, welcome to the forum. there are several questions.
    1) what is your weekends? Sat & Sun?
    2) 9 May 2013 is a Wed. 13 May 2013 is a Mon. So if you consider Sat & Sun as weekends, do you consider it to be 4 or 3 days? because Thu, Fri & Mon are 3 days. and you put it as "yes".

    here's how it's roughly going to be. NETWORKDAYS will give you the working days between 2 dates. you can even put in a list of holidays for eg a list of dates in G1:G10
    =NETWORKDAYS(A2,C2,$G$1:$G$10)
    if you consider the above to be 3 days, then minus 1
    =NETWORKDAYS(A2,C2,$G$1:$G$10)-1

    so something like this:
    =IF(OR(AND(B2<=4,NETWORKDAYS(A2,C2,$G$1:$G$10)-1<=2),AND(B2>4,NETWORKDAYS(A2,C2,$G$1:$G$10)-1<=3)),"Yes","No")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    05-04-2013
    Location
    Manila
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Formula that will count response days with conditions

    Hi Benishiryo,

    Fist of all, thank you for your quick response. Below are to answer your questions.
    1. Weekends are Saturday and Sunday.
    2. Counting starts after the day the query is received (24 hours rule) that's why I put a "yes". It should only count the 10 May 2013 (day 1) and 13 may 2013 (day 2).

    Please let me know if you need additional explanation.

    Quote Originally Posted by benishiryo View Post
    hi zince, welcome to the forum. there are several questions.
    1) what is your weekends? Sat & Sun?
    2) 9 May 2013 is a Wed. 13 May 2013 is a Mon. So if you consider Sat & Sun as weekends, do you consider it to be 4 or 3 days? because Thu, Fri & Mon are 3 days. and you put it as "yes".

    here's how it's roughly going to be. NETWORKDAYS will give you the working days between 2 dates. you can even put in a list of holidays for eg a list of dates in G1:G10
    =NETWORKDAYS(A2,C2,$G$1:$G$10)
    if you consider the above to be 3 days, then minus 1
    =NETWORKDAYS(A2,C2,$G$1:$G$10)-1

    so something like this:
    =IF(OR(AND(B2<=4,NETWORKDAYS(A2,C2,$G$1:$G$10)-1<=2),AND(B2>4,NETWORKDAYS(A2,C2,$G$1:$G$10)-1<=3)),"Yes","No")

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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