+ Reply to Thread
Results 1 to 7 of 7

Getting difference in dates based on specific case numbers

  1. #1
    Registered User
    Join Date
    04-26-2022
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Office 365
    Posts
    16

    Getting difference in dates based on specific case numbers

    Hey all,

    See attached for example. I redacted names and sensitive info obviously.

    What I need to do is figure out when a case (Column A) was "Created." and when the "Case Owner" field was updated. Some cases don't have an update to the "Case Owner", so I don't need to worry about those, but some cases also have multiple Case Owner updates. All I need is to find the number of days from when the case was "Created." to the first "Case Owner" update for that case. This sheet has around 11k rows

    Let me know if you need more info. I'm not too great at explaining myself but I can't figure out how to find the days between dates on a case by case basis
    Attached Files Attached Files
    Last edited by spencerbc4; 07-20-2022 at 03:55 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Getting difference in dates based on specific case numbers

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context. If there is sensitive data then anonymise it. Pictures are rarely much use when we need to test solutions.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.

    To upload a file click the Go Advanced button at the foot of your post, look underneath the post area for the Manage Attachments section and take it from there.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,485

    Re: Getting difference in dates based on specific case numbers

    Let me know if you need more info.
    Yes … Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    04-26-2022
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Office 365
    Posts
    16

    Re: Getting difference in dates based on specific case numbers

    My bad, I thought I attached the right file. One moment

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Getting difference in dates based on specific case numbers

    It would be helpful to see what your desired results would look like.

    This will display the number of days in each created row that had a case owner change:
    L2 =IF(E2="Case Owner","",IFERROR(1/(1/MINIFS(I:I,A:A,A2,E:E,"Case Owner"))-SUMIFS(H:H,A:A,A2,E:E,"Created."),""))

    Drag the formula down.

  6. #6
    Registered User
    Join Date
    04-26-2022
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Office 365
    Posts
    16

    Re: Getting difference in dates based on specific case numbers

    exactly what I needed. Thank you!

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,485

    Re: Getting difference in dates based on specific case numbers

    Thanks for the rep. Though, clearly, the hard work was not done by me ... Thanks anyway

+ 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. Replies: 1
    Last Post: 09-20-2020, 05:43 PM
  2. [SOLVED] countif based on the difference between two dates
    By gnewmal in forum Excel General
    Replies: 8
    Last Post: 06-04-2019, 07:15 AM
  3. Fill series of dates with a difference of days upto a specific date
    By green369 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-28-2017, 06:07 AM
  4. [SOLVED] Finding the difference between dates by using input numbers.
    By Sekars in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-28-2016, 03:01 AM
  5. Replies: 2
    Last Post: 02-11-2015, 05:35 AM
  6. [SOLVED] Auto filling dates based on previously entered dates and averaging numbers if dates equal
    By grambograham in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-11-2012, 03:21 PM
  7. Insert numbers of based upon difference of two numbers
    By excellentlearner in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-08-2012, 05:54 PM

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