+ Reply to Thread
Results 1 to 7 of 7

Couting Open Cases in Data Set

  1. #1
    Registered User
    Join Date
    02-01-2016
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    1

    Couting Open Cases in Data Set

    Hello,


    I have a large dataset that contains case numbers and both Open and closed dates for those cases.

    My goal is to be able to select a date , preferably in a pivot table, and see how many cases were pending on that date. I am completley stumed on how to create this calculation.


    My data set looks similar to the below.


    Case Number Date Open Date Closed
    60054254 10/31/2014 1/12/2015
    60054666 11/19/2014 1/12/2015
    60054856 11/26/2014 1/9/2015
    60054891 12/1/2014 3/30/2015
    60054926 12/2/2014 1/26/2015
    60054944 12/2/2014 1/19/2015
    60054948 12/2/2014 1/14/2015
    60055072 12/9/2014 1/13/2015



    Any help or insight would be greatly appriciated.

  2. #2
    Forum Contributor IonutC's Avatar
    Join Date
    01-28-2016
    Location
    Bucharest, Romania
    MS-Off Ver
    Office 2019
    Posts
    486

    Re: Couting Open Cases in Data Set

    I think a pivot will help you to see what you need

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: Couting Open Cases in Data Set

    Hi, welcome to the forum

    Yes, you could probably use a PT, or you could use a filter.

    To use a filter, click the Home tab/at the far right/edit/Sort and Filter/Filter
    You will then see a dropdown arrow at the top of each of your columns - click that and check/uncheck what you want/dont want to see

    @ IonutC, that was not a very helpful answer The OP had already suggested using a PT, but was asking advice on how to create 1?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Contributor IonutC's Avatar
    Join Date
    01-28-2016
    Location
    Bucharest, Romania
    MS-Off Ver
    Office 2019
    Posts
    486

    Re: Couting Open Cases in Data Set

    Sorry! wasn't my intention. I am new here so I am trying to figure myself how I can solve my Excel problems.
    I will take into consideration your reply and act accordingly.

    Kr,
    IonutC

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: Couting Open Cases in Data Set

    Ionut, we welcome your input and look forward to seeing more from you

  6. #6
    Registered User
    Join Date
    11-11-2015
    Location
    Southend
    MS-Off Ver
    2013
    Posts
    52

    Re: Couting Open Cases in Data Set

    create a new column on the left hand side say B
    set aside a cell for the date of interest eg A1
    set up a new column on the right hand side say F
    in column F if the date in A1 is > then date open and less then date closed put a "Yes" in the column
    If column F is "yes" increment column B - (if (f20 = "yes", max(b$1:b19)+1,"")
    This will give you all the rows you want with an index number in column B
    Set up a new tab with numbers 1 to xxx in column A and use vlookup to retrieve you results

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Couting Open Cases in Data Set

    Attach a sample workbook. 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 use the paperclip icon to open the upload window.

    View Pic

    Please define what you mean by "PENDING". You have open date, closing date but nothing to indicate what PENDING would mean.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Formula to count the number of cases that are open in a month
    By eekbubble in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-08-2015, 10:09 AM
  2. Add cases opened and closed for each month and specifics about the cases.
    By ChrisLaRoc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-04-2014, 08:19 PM
  3. [SOLVED] Matching cases and data
    By stuartj1 in forum Excel General
    Replies: 6
    Last Post: 10-16-2013, 03:56 PM
  4. Calculating age of open cases
    By Slongy in forum Excel General
    Replies: 14
    Last Post: 05-27-2009, 08:54 AM
  5. [SOLVED] VBA for converting data into various CASES.
    By Max in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 09-06-2005, 04:05 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