+ Reply to Thread
Results 1 to 4 of 4

How to calculate no. of days from last incident? Multiple stores with > incident dates

Hybrid View

  1. #1
    Registered User
    Join Date
    02-26-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Question How to calculate no. of days from last incident? Multiple stores with > incident dates

    Hello All

    I am new to this forum,or any other forum for that matter and appreciate in advance any help that you may provide!

    Have a list of multiple store numbers ,each with several incident dates. What i need to calculate is the last incident date for each store number.

    See below data i am working with.

    Store No. Report Date
    100 24/01/2013
    101 23/01/2013
    100 18/01/2013
    102 18/01/2013
    103 07/01/2013
    100 29/01/2013
    101 29/01/2013
    103 15/01/2013
    104 25/01/2013
    100 07/02/2013
    101 25/02/2014
    102 19/02/2013
    102 27/01/2013
    104 15/01/2013
    101 20/02/2013
    101 16/02/2013
    100 20/01/2013
    103 23/01/2013
    101 11/01/2013


    Many thanks,
    Ana

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: How to calculate no. of days from last incident? Multiple stores with > incident dates

    Prepare a unique list of store numbers, i.e. 100, 101, 102, 103 etc. - suppose this is in column D, starting in cell D2 so you can have a heading above. Then you can put this array* formula in cell E2:

    =MAX(IF(A$2:A$100=D2,B$2:B$100))

    Adjust the ranges to suit if you have more data.

    *An array formula needs to be committed using the key combination of Ctrl-Shift-Enter (CSE), rather than the usual <Enter>.

    Format the cell as a date in the style you prefer, then copy down the formula to the bottom of your unique list.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    02-26-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: How to calculate no. of days from last incident? Multiple stores with > incident dates

    Pete, that is great, it worked just fine!
    Thank you!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: How to calculate no. of days from last incident? Multiple stores with > incident dates

    Glad to be of help - thanks for feeding back.

    Pete

+ 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. Template for Incident Management
    By Abeniston in forum Excel General
    Replies: 2
    Last Post: 06-24-2013, 06:01 PM
  2. [SOLVED] Find the first and last incident of data in a row
    By CRIMEDOG in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-19-2013, 01:54 PM
  3. [SOLVED] days without incident, counting method
    By slxia1 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-05-2012, 09:24 PM
  4. Formula for finding last incident?
    By AnthonyMoody in forum Excel General
    Replies: 6
    Last Post: 10-29-2011, 11:24 PM
  5. Excel 2007 : Data Validation / Incident Report
    By tina.cook in forum Excel General
    Replies: 1
    Last Post: 07-14-2011, 03:08 PM

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