+ Reply to Thread
Results 1 to 5 of 5

Finding latest data record with different dates

  1. #1
    Registered User
    Join Date
    04-09-2015
    Location
    New Zealand
    MS-Off Ver
    2013
    Posts
    2

    Finding latest data record with different dates

    Hi,

    I have data sheeting showing each store name and when it has been visited. I need to report on the data from every stores latest visit. My problem is I’m not sure how to get the latest visit if the dates vary between stores.


    Is there a formula I can use?
    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: Finding latest data record with different dates

    You can use the Sort or Pivot table
    If I've helped U pls click on d *Add Reputation

  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
    52,938

    Re: Finding latest data record with different dates

    Hi, welcome to the forum

    See if this will help. Assuming your data looks a bit like thtis...
    A
    B
    C
    1
    4/9/2015
    aa
    4/16/2015
    2
    4/10/2015
    bb bb
    3
    4/11/2015
    cc
    4
    4/12/2015
    aa
    5
    4/13/2015
    bb
    6
    4/14/2015
    cc
    7
    4/15/2015
    aa
    8
    4/16/2015
    bb
    9
    4/17/2015
    cc
    10
    4/18/2015
    aa

    C1=MAX(IF($B$1:$B$10=C2,$A$1:$A$10,0))

    This is an ARRAY formula...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    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
    Registered User
    Join Date
    04-09-2015
    Location
    New Zealand
    MS-Off Ver
    2013
    Posts
    2

    Re: Finding latest data record with different dates

    Thank you!

    Might help if I share what I am working with to explain it a bit better.

    Cells c-z has data I want to use but only for the latest visit to each of these stores. Eg 18/2/2015 1 Stop Shop

    A B
    1 8/01/2015 1 stop
    2 18/02/2015 1 stop
    3 5/02/2015 142 Onepu Rd Dairy
    4 8/01/2015 24/7 Convenience
    5 9/02/2015 467 Dairy
    6 2/03/2015 467 Dairy
    7 9/03/2015 467 Dairy
    8 12/03/2015 467 Dairy
    9 1/04/2015 467 Dairy
    10 7/01/2015 543 Mart
    11 10/02/2015 543 Mart
    12 18/03/2015 543 Mart
    Attached Images Attached Images
    Last edited by Rubyod; 04-09-2015 at 10:06 PM. Reason: Table not showing correctly

  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
    52,938

    Re: Finding latest data record with different dates

    Did you try my suggestion?

    If you still have a problem, upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.

+ 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] Finding the latest and oldest dates in a filtered column.
    By skyping in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-04-2015, 05:35 PM
  2. [SOLVED] Finding the Earliest and Latest Dates for each Task Code
    By BenTFleury in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-07-2014, 03:45 PM
  3. finding the latest date in a list of dates
    By easty in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-14-2010, 01:34 AM
  4. Finding the newest / latest date in each record
    By Statsman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-01-2009, 07:40 PM
  5. [SOLVED] Finding the Latest Date from Several Dates in Different Columns
    By sdupont in forum Excel General
    Replies: 4
    Last Post: 12-30-2005, 04:55 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