+ Reply to Thread
Results 1 to 11 of 11

lookup max date on list

Hybrid View

koi lookup max date on list 09-12-2012, 05:25 AM
zbor Re: lookup max date on list 09-12-2012, 05:27 AM
koi Re: lookup max date on list 09-12-2012, 05:34 AM
zbor Re: lookup max date on list 09-12-2012, 05:36 AM
koi Re: lookup max date on list 09-12-2012, 05:40 AM
zbor Re: lookup max date on list 09-12-2012, 05:45 AM
Ace_XL Re: lookup max date on list 09-12-2012, 05:45 AM
koi Re: lookup max date on list 09-12-2012, 08:04 AM
zbor Re: lookup max date on list 09-12-2012, 08:07 AM
Ace_XL Re: lookup max date on list 09-12-2012, 08:08 AM
koi Re: lookup max date on list 09-12-2012, 08:13 AM
  1. #1
    Registered User
    Join Date
    03-10-2005
    MS-Off Ver
    Excel 2013
    Posts
    95

    lookup max date on list

    hi all,

    need help to lookup max date on list

    A1:A5 = A
    A6:A10 = B

    B1:B10 = date

    i need some formula in C to show which A and Which B got max date.

    yesterday i make it using pivot and just show as max..but i wanted to know how to do it using formula as well, thanks
    Last edited by koi; 09-12-2012 at 08:13 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,036

    Re: lookup max date on list

    try =MAX(B1:B10) and format as date
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    03-10-2005
    MS-Off Ver
    Excel 2013
    Posts
    95

    Re: lookup max date on list

    hi,

    actually you cannot do that since it will return to the max date, but i wanted to show max date for each A and each B.

    kinda need something in column C like count a duplicate so it will show example 1 in highest date for A and B so i can just sort it later

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,036

    Re: lookup max date on list

    use =MAX(A1:A5) and same for other.

    or upload example workbook so we can see what you trying to do.

  5. #5
    Registered User
    Join Date
    03-10-2005
    MS-Off Ver
    Excel 2013
    Posts
    95

    Re: lookup max date on list

    hi, this is the workbookBook1.xls

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,036

    Re: lookup max date on list

    Try this:

    Formula: copy to clipboard
    =MAX(IF($A$2:$A$100=A2,$B$2:$B$100))


    comfirmed with ctrl+shift+enter (and not just enter)

  7. #7
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: lookup max date on list

    Use..

    =MAX(IF($A$2:$A$22="A",$B$2:$B$22))

    Confirm with Ctrl+Shift+Enter and not just Enter

    Repalce "A" with "B" or "C" to get desired results
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  8. #8
    Registered User
    Join Date
    03-10-2005
    MS-Off Ver
    Excel 2013
    Posts
    95

    Re: lookup max date on list

    hi,

    still not working, if the A,B,C is too many..then i need to change that variable all the time also in C all A now showing the max date..how to sort it out then?

  9. #9
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,036

    Re: lookup max date on list

    Try this:

    Formula: copy to clipboard
    =IF(MAX(IF($A$2:$A$100=A2,$B$2:$B$100))=B2,B2,"")

  10. #10
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: lookup max date on list

    Try this..

    =IF(B2=MAX(IF($A$2:$A$22=A2,$B$2:$B$22)),B2,"")

    Confirm with Ctrl+Shift +Enter

  11. #11
    Registered User
    Join Date
    03-10-2005
    MS-Off Ver
    Excel 2013
    Posts
    95

    Re: lookup max date on list

    thats perfect.. thanks so much, one question.. can we make it without array bracket? and why do you know it has to be with array?

    dont really like using array since sometimes when i send to people they tend to screw it

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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