+ Reply to Thread
Results 1 to 6 of 6

Matching Data

  1. #1
    Registered User
    Join Date
    07-29-2010
    Location
    Mexico City, Mexico
    MS-Off Ver
    Excel 2007
    Posts
    16

    Matching Data

    I am working with 2 large sheets of data in MS excel 07

    In the attachment I've given what I have already. What I want to do is move the costs from sheet 1 to its corresponding product in sheet 2, such that in column 3 of sheet 2 has all the correct costs.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Matching Data

    Something like;
    =IF(B4="","",VLOOKUP(A4,'1'!A:B,2,0))
    ?
    CC


    If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.

  3. #3
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,277

    Re: Matching Data

    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Matching Data

    In C4
    =VLOOKUP(A4,'1'!$A$2:$B$5,2,0)
    1. If you use whole-column references (as per my example) the solution will be more future-proof
    2. If you use an if (as per my example) you won't get #n/a errors inbetween days

    In every other way, the proposed solutions are identical.

  5. #5
    Registered User
    Join Date
    07-29-2010
    Location
    Mexico City, Mexico
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Matching Data

    Quote Originally Posted by Cheeky Charlie View Post
    Something like;
    =IF(B4="","",VLOOKUP(A4,'1'!A:B,2,0))
    ?
    thanks a lot. how do i give you good feedback or whatever

  6. #6
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Matching Data

    thanks a lot
    That'll do

+ 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