+ Reply to Thread
Results 1 to 4 of 4

Find Latest Date for a particular customer

  1. #1
    Registered User
    Join Date
    07-12-2011
    Location
    Kildare,Ireland
    MS-Off Ver
    Excel 2010
    Posts
    59

    Find Latest Date for a particular customer

    Hi,
    I've attached a quick sample, I have two customer ID's, AB1 and AB2, I want to be able to put a formula into column C that will return the latest date for each customer. So AB1 will show 01/04/2013 and AB2 will show 01/05/2013. I know I can use a MAX formula but I don't know how to connect it to the specific customer ID.

    Any help is appreciated as always!

    Thanks
    Dave

    Max Date Query.xlsx

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Find Latest Date for a particular customer

    =MAX(IF($A$2:$A$11=A2,$B$2:$B$11)) array entered copy paste in C2 then hold control and shift together and then hit enter now release all three keys and drag down

    Use This if you don't want duplication
    =IF(COUNTIF($A$2:A2,A2)>1,"",MAX(IF($A$2:$A$11=A2,$B$2:$B$11))) Array Entered!
    Last edited by hemesh; 02-18-2014 at 08:18 AM.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    07-12-2011
    Location
    Kildare,Ireland
    MS-Off Ver
    Excel 2010
    Posts
    59

    Re: Find Latest Date for a particular customer

    Great, thanks!

    I really need to learn some more array formula!

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Find Latest Date for a particular customer

    Thanks for the Feedback !

+ 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 the latest selling price from a product list for selected customer
    By wesleyho in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-30-2013, 04:53 AM
  2. [SOLVED] Find the latest date
    By fitzt70 in forum Excel General
    Replies: 5
    Last Post: 07-16-2013, 03:36 AM
  3. Find the Latest Date
    By davidhale87 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-09-2013, 05:20 PM
  4. Replies: 1
    Last Post: 04-04-2012, 08:21 AM
  5. Replies: 4
    Last Post: 01-01-2012, 03:11 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