+ Reply to Thread
Results 1 to 4 of 4

copy value between sheets when cells match

  1. #1
    Registered User
    Join Date
    11-05-2009
    Location
    Tennessee
    MS-Off Ver
    Excel 2007
    Posts
    12

    copy value between sheets when cells match

    I have two sheets. Sheet-2 has additional information but Sheet-1 has the dates I need.

    See attached sample of what I'm working with. I need to populate Sheet-2!C2 with the Date from Sheet-1 where the ID matches. Do I use VLOOKUP for this or somethign else?


    Thanks!
    Attached Files Attached Files
    Last edited by matt5596; 12-07-2010 at 10:24 AM. Reason: moderator requested title change

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,980

    Re: Do I use vlookup?

    =IFERROR(VLOOKUP($A2,'Sheet-1'!$A:$B,2,FALSE),"")

    in cell C2 and copy down

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Do I use vlookup?

    Matt, in the future please refer to Rule #1 when creating new thread titles:

    Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

  4. #4
    Registered User
    Join Date
    11-05-2009
    Location
    Tennessee
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Do I use vlookup?

    Quote Originally Posted by TMShucks View Post
    =IFERROR(VLOOKUP($A2,'Sheet-1'!$A:$B,2,FALSE),"")

    in cell C2 and copy down

    Regards
    Just what I needed. Thank you!

+ 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