+ Reply to Thread
Results 1 to 4 of 4

Comparing two columns of data and pasting in data from third column...

  1. #1
    Registered User
    Join Date
    09-04-2013
    Location
    Mpls, MN
    MS-Off Ver
    Excel 2003
    Posts
    2

    Comparing two columns of data and pasting in data from third column...

    I am *such* a novice at excel and am about ready to cry with frustration!

    I have two sheets in one workbook - and want to compare Column E in Sheet 1 to Column A in sheet 2. IF they match, I need the data from Column D in sheet 2 to copy into Column G on Sheet 1. Does that make sense?

    I've been using this formula: =VLOOKUP(E668, Sheet2!A3:K6701, 4), which I've entered into Column G. And it WORKS for that *one* cell. BUT when i try to cut & paste it down the entire Column G, the reference range "Sheet2!A3:K6701" keeps changing its numbers OR becomes "REF and I need it stay the same. What am I doing wrong???

    I'm a moron.... My moronic thanks to anyone who can hep me!

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,637

    Re: Comparing two columns of data and pasting in data from third column...

    Change it in:
    =VLOOKUP(E668, Sheet2!A$3:K$6701, 4)
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Comparing two columns of data and pasting in data from third column...

    Hi,

    You need to 'fix' the range (to Sheet2!$A$3:$K$6701) before copying down.

    One way is to highlight only that portion of the formula and press F4 (which cycles through the various relative/absolute row/column permutations). You should be choosing the one with all four 'dollar signs' in, as I give above.

    Regards
    Click * below if this answer helped

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

  4. #4
    Registered User
    Join Date
    09-04-2013
    Location
    Mpls, MN
    MS-Off Ver
    Excel 2003
    Posts
    2

    Cool Re: Comparing two columns of data and pasting in data from third column...

    thank you so much!!

+ 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. Replies: 7
    Last Post: 09-26-2012, 04:54 AM
  2. Replies: 0
    Last Post: 09-25-2012, 03:42 PM
  3. [VBA] Comparing two columns and pasting the difference into a third column
    By hydroid in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-06-2012, 06:29 PM
  4. Replies: 1
    Last Post: 11-22-2010, 07:03 PM

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