+ Reply to Thread
Results 1 to 4 of 4

Vlookup between 2 sheets to return value in one

  1. #1
    Registered User
    Join Date
    01-14-2015
    Location
    Portland, ME
    MS-Off Ver
    Office 2013
    Posts
    4

    Vlookup between 2 sheets to return value in one

    Hello,

    I have two worksheets - a master one with 20k rows and a subset one with 2k rows. Both have 5 columns. One of the columns is a name. I would like to compare all 2k against the 20k and return a value (specific date) in a 6th column in the master sheet. All 2k exist in the 20k Master sheet (so there are no extras) but they are scattered all over the 20k (but in the same column - so do not have to look for name in a range in the Master sheet). I thought Vlookup would be the right formula for something like this but after searching on various forums and youtube, I cant figure out how to return a value (a specific date in this case). Any help would be greatly appreciated. Thanks!!!

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Vlookup between 2 sheets to return value in one

    =VLOOKUP(name,MasterSheet!A$1:E$20000,6,0)
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    01-14-2015
    Location
    Portland, ME
    MS-Off Ver
    Office 2013
    Posts
    4

    Re: Vlookup between 2 sheets to return value in one

    Thanks for the formula. Is there a way to include the date that I want to return as a value in the 6th column in the formula. So if the name from the 2k sheet exists in the 20k sheet then in the 6th column it will put in 1/22/2015 for all those 2k values? Just to clarify that I am looking to put the Date in the 6th column in the Master Sheet

  4. #4
    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,929

    Re: Vlookup between 2 sheets to return value in one

    The suggested formula looks like it will do exactly that for you. If the answer you are getting is a (wierd) 5-chacter number, that is, in fact a date...all you need to do is format it as date
    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

+ 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] Formula to always return cell below what a vlookup would return
    By KCHEXCEL in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-28-2013, 12:57 AM
  2. Vlookup function to return multiple values from multiple sheets
    By bsamant in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2013, 11:31 AM
  3. return vlookup value across array of sheets
    By gtiguy in forum Excel General
    Replies: 0
    Last Post: 10-29-2012, 07:42 PM
  4. VLOOKUP to look through multiple sheets and return the sheet names
    By ackimbrough in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-26-2011, 03:55 PM
  5. Vlookup 2 sheets and return values in rows
    By fun4four in forum Excel General
    Replies: 3
    Last Post: 11-04-2010, 04:37 PM

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