+ Reply to Thread
Results 1 to 6 of 6

How to find Avg. number of days to close incidence, how many pending and upheld

  1. #1
    Registered User
    Join Date
    04-03-2019
    Location
    Everywhere
    MS-Off Ver
    2013
    Posts
    3

    How to find Avg. number of days to close incidence, how many pending and upheld

    thanks in advance. ** Sorry I was unable to attach a file **

    As per the attached I need to find out:

    I've managed to count the number of incidences open and closed each month, Rows 5 and 6 but I don't know how to combine it with the rest.
    - how long is it taking in avg. to close incidences per month? Tab "Summary", row 7.
    - how many "Pending" incidences we have for each month, this is something that would need to be updated on a monthly basis and should tend to be 0 for the initial months since after some time, they all should be resolved.
    - Cumulative incidences upheld per month.

    Thank you
    Last edited by Dan_Excel; 04-03-2019 at 09:30 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: How to find Avg. number of days to close incidence, how many pending and upheld

    In the future please post in the correct forum. I moved it for you
    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    04-03-2019
    Location
    Everywhere
    MS-Off Ver
    2013
    Posts
    3

    Re: How to find Avg. number of days to close incidence, how many pending and upheld

    Thank you so much Pepe, file attached now!!!!
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: How to find Avg. number of days to close incidence, how many pending and upheld

    Hello Dan_Excel and Welcome to Excel Forum.
    As to "how long is it taking in avg. to close incidences per month?" try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    As to the other two questions, it may help if you could manually fill in at least some of the values so that we will know the expected output for the formulas/code.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    04-03-2019
    Location
    Everywhere
    MS-Off Ver
    2013
    Posts
    3

    Re: How to find Avg. number of days to close incidence, how many pending and upheld

    Thanks so much, It works!!

    With the 2nd question don't worry is will have to done manually since it will change every month.

    With the 3rd one, I have attached the file with additional registers, and I'll expand on my explanation:

    Row 9 - Summary Tab
    I'm trying to count the incidences that were classified as "Upheld" since the beginning of the register till the date specified in rows 2 and 3.
    I tried something like:

    =IF(SUMPRODUCT(MONTH(IncidenceLog!$B$2:$B$498)<=O4)*(YEAR(IncidenceLog!$B$2:$B$498)<=O2),COUNTIF(IncidenceLog!$C$2:$C$498,"upheld"),"")

    But it results in everything blank.

    Many thanks again, you're very helpful.
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: How to find Avg. number of days to close incidence, how many pending and upheld

    I would be easier to help if values were manually placed in some of the cells in row 9 so that we could know what values the formula/code should yield.
    That said I feel as if the following formula will provide what you want: =SUMPRODUCT((IncidenceLog!$B$2:$B$25<=EOMONTH(C4,0))*(IncidenceLog!$C$2:$C$25="yes"))
    Note that row 4 is now populated with actual dates. If you want only the month numbers displayed in that row select cells C4:U4, press the Ctrl and 1 keys, select custom, in the Type: window put m and select OK
    Let us know if you have any questions.
    Attached Files Attached Files

+ 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] Find Number of days more Pending
    By arun.sj in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-03-2018, 04:08 AM
  2. [SOLVED] Find Pending word in a range
    By rajeshn_in in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-09-2017, 09:01 AM
  3. [SOLVED] FIND the word PENDING on a column and count it
    By Jarvin24 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-20-2015, 09:47 PM
  4. [SOLVED] Formual to find number between 2 days
    By rizmomin in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-26-2014, 10:54 PM
  5. [SOLVED] Find number of days between two dates
    By Test123Test in forum Excel General
    Replies: 9
    Last Post: 04-17-2014, 03:19 PM
  6. Replies: 5
    Last Post: 01-05-2013, 01:28 AM
  7. [SOLVED] Chi square test-no. Of days on incidence of patient
    By rajeev in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-21-2005, 09:05 AM

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