+ Reply to Thread
Results 1 to 17 of 17

Vlookup and return latest update?

  1. #1
    Registered User
    Join Date
    05-23-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    14

    Vlookup and return latest update?

    Hi, I wonder if anyone can help me, I'm pretty sure it's actually a simple solution but it's beyone me.

    I have a workbook and the first sheet shows a list of retailers and various details whereas the second sheet lists the same retailers and weekly status updates.
    I want sheet 1 to be able to look into sheet 2, match the retailer name and return the latest (i guess last filled cell in the relevant column) and return the latest update to sheet 1.

    Example attached.

    If anyone can help, I will owe you great thanks.


    Regards

    Paul
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Vlookup and return latest update?

    Not sure which data needs to be matched with which column


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup and return latest update?

    Hi Paul

    Which is the expected result in B3 and why..?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    05-23-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Vlookup and return latest update?

    Hi FOtis

    In this example instance, the result would be the "I don't know" content of B8 on "Update" (of course as long as the correct retailer name is selected in "Main"). Naturally, if then B9 were to be filled, I would want the relevant cell in B on "Main" to then reflect that as it would then be the "latest update" if you will.

    Hope I've explained that ok.

    Paul

  5. #5
    Registered User
    Join Date
    05-23-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Vlookup and return latest update?

    Sorry, I've noticed in rushing, the example document was a mess. I've added a bit more in now, might make more sense. So as above, Main tab Column B would look up the retailer on Tab Updates and return the latest text filled update in the related column.

    Regards

    Paul
    Attached Files Attached Files

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup and return latest update?

    Quote Originally Posted by Ashe77 View Post
    Sorry, I've noticed in rushing, the example document was a mess. I've added a bit more in now, might make more sense. So as above, Main tab Column B would look up the retailer on Tab Updates and return the latest text filled update in the related column.

    Regards

    Paul
    Paul. Where are the retailers Names in Update tab?

  7. #7
    Registered User
    Join Date
    05-23-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Vlookup and return latest update?

    Hi Fotis

    On the columns from B2 through U2. These match (in content) the list on Main tab in column A which is in a data validation drop-down. To be honest, there may be some that don't match entirely in terms of the text, that I have just noticed as I have re-cut and pasted this several times to try formulas.

    Paul

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup and return latest update?

    Paul as you see i do want to help but this makes no sense to me.

    So one more try. Pls, put manually the expected results in your sample sheet explaining as much better as you can, WHY, these must be the results.

  9. #9
    Registered User
    Join Date
    05-23-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Vlookup and return latest update?

    Ho Fotis

    Sorry, I am most likely making this more complex or badly explained than I should. Apologies, I was rushing before.

    Ok, so the concept is that the first tab (Main) in column A has a drop down list which allows me to select one of the retailers all of whom are stored on the 3rd tab (retailers and epos). The 2nd tab (Updates) would be filled out by a colleague with status updates on these retailers as to current progress with their business.
    My desire is that when I populate column A on Main tab with one of the retailers from the list, it automatiocally populates Column B with the most recent update entered on Tab Updates for that retailer.

    So for example, on June 21st "Bestway" has a latest update of "I don't know" and Co-Op Anglia has a latest update of "test 4". I want it to be that when on Main tab I choose "Bestway", Column B auto populates "I don't know" as the latest update. Similarly if I chose "Co-Op Chelmsford" it would populate "result" as the latest update (as per the info on the updates tab).

    The exercise is purely for automation to avoid mistakes and allow multiple users to use the form easily.

    Paul
    Attached Files Attached Files

  10. #10
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup and return latest update?

    Now, makes sense.

    We Use INDEX& MATCH and also MAX(IF....
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    05-23-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Vlookup and return latest update?

    Fortis

    That is amazing, thank you. I could never have worked that one out myself.

    One question - on the document I notice that when I copy down the formula below line 6, it doesn't seem to return the result. Am I doing something incorrect there?

    Paul

  12. #12
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup and return latest update?

    Have you any data below A6?

  13. #13
    Registered User
    Join Date
    05-23-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Vlookup and return latest update?

    Initially no but I have dragged the cell down to copy the data validation from A2-A6 and done the same for column B but when I then select one of the list in A7, B7 does not populate.

    Paul

  14. #14
    Forum Contributor
    Join Date
    05-09-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    259

    Re: Vlookup and return latest update?

    You have a date in column C? in the MAIN spreadsheet?

  15. #15
    Forum Contributor
    Join Date
    05-09-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    259

    Re: Vlookup and return latest update?

    The formula works fine on the example I downloaded, just add the date in column c on your main spreadsheet.

  16. #16
    Registered User
    Join Date
    05-23-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Vlookup and return latest update?

    I now see, I now see! I did not notice column C hidden therefore was not copying that down also.

    Thank you both for all your help on this, it is hugely appreciated.

  17. #17
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup and return latest update?

    ......................

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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