+ Reply to Thread
Results 1 to 7 of 7

Vlookup/lookup lastest entry excluding blanks

  1. #1
    Registered User
    Join Date
    09-13-2012
    Location
    sg
    MS-Off Ver
    Excel 2010
    Posts
    11

    Vlookup/lookup lastest entry excluding blanks

    Hi All,

    would really appreciate help for this. I tried searching the old threads which gave me results for getting the latest entry, but i need to look up the latest entry excluding the blanks. For example


    A 12-Jan-12
    B 13-Jan-12
    A 15-Feb-12
    B 16-Feb-12
    C 16-Feb-12
    A
    B
    C

    I need to be able to get the result for A as 15-Feb-12 and B as 16-Feb-12 even though there are blank entries corresponding to A and B further down.
    The Answer is =MAX(IF(A1=$A$1:$A$8,$B$1:$B$8)) Confirm with Ctrl+Shift+Enter not just Enter


    However, I would like to know how I can do so for entries across two different spreadsheets in the same file?
    The code I'm using now is =MAX(IF("Itemname"='2012'!$B$6:$B$250,'2012'!$H$6:$H$250)), i'm looking for the entry in spreadsheet 2012, but how can i include entires in spreadsheet 2011 as well?
    Last edited by dominion; 09-21-2012 at 03:12 AM.

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

    Re: Vlookup/lookup lastest entry excluding blanks

    If your dates are always listed in ascending order you could use

    =MAX(IF(A1=$A$1:$A$8,$B$1:$B$8))

    Conmfirm with Ctrl+Shift+Enter not just Enter
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    09-13-2012
    Location
    sg
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Vlookup/lookup lastest entry excluding blanks

    What would the difference be between CTRL+Shift+Enter and just Enter?

    Thanks!
    Last edited by Cutter; 09-18-2012 at 04:38 PM. Reason: Removed whole post quote

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

    Re: Vlookup/lookup lastest entry excluding blanks

    The formula is an array formula and hence needs to confirmed with Ctrl+Shift+Enter

    Some reading on array formulae here
    http://www.cpearson.com/excel/ArrayFormulas.aspx
    http://office.microsoft.com/en-us/ex...001087290.aspx

  5. #5
    Registered User
    Join Date
    09-13-2012
    Location
    sg
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Vlookup/lookup lastest entry excluding blanks

    Thanks a lot! It's solved now!

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Vlookup/lookup lastest entry excluding blanks

    @ dominion

    Welcome to the forum.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  7. #7
    Registered User
    Join Date
    09-13-2012
    Location
    sg
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Vlookup/lookup lastest entry excluding blanks

    updated for follow up question on original question

    thanks a lot guys!

+ 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