+ Reply to Thread
Results 1 to 8 of 8

Struggling with comparing two columns of data, and populating another column if matching

Hybrid View

  1. #1
    Registered User
    Join Date
    09-19-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    3

    Struggling with comparing two columns of data, and populating another column if matching

    Hi Guys,

    This is my first time on this forum but I am struggling badly with a problem and I could really do with a helping hand;


    I have two spreadsheets with data, for the purpose of an easy explanation spreadsheet A and B.

    Within both spreadsheets is a column with a list of SKU's and a Column with a list of Prices. What i need to do is compare the SKU column in Spreadsheet A with the SKU column in Spreadsheet B. When the formula finds a match it copies the corresponding data from the price column in Spreadsheet A and populates the Price column in spreadsheet B.

    I'm presuming it will be best to initially compile both sets of data as worksheets within a spreadsheet. I cant seem to find a formula that works so far (obviously my own user error!)

    Any help would be truly appreciated, this stands to save me 2 or 3 weeks worth of work.

    Many thanks in advance

    Cory.

  2. #2
    Registered User
    Join Date
    07-31-2012
    Location
    cape cod
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: Struggling with comparing two columns of data, and populating another column if matchi

    can you attached?

  3. #3
    Registered User
    Join Date
    07-31-2012
    Location
    cape cod
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: Struggling with comparing two columns of data, and populating another column if matchi

    I'm thinking sumproduct

  4. #4
    Registered User
    Join Date
    06-26-2012
    Location
    new york
    MS-Off Ver
    Office Enterprise 2007, Office Professional Plus 2010, Office Professional Plus 2013
    Posts
    35

    Re: Struggling with comparing two columns of data, and populating another column if matchi

    Hi,

    you can use a VLOOKUP formula, type in to the price column in spreadsheet B
    Formula: copy to clipboard
    =VLOOKUP(A1,spreadsheet A'Sheet1'!$A:$B,2,FALSE)

    which will look in spreadsheet A for A1 which should be the sku in Spreadsheet B and Populate the price based on spreadsheet A.

    If you send a sample I can customize the formula for you.

  5. #5
    Registered User
    Join Date
    09-19-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Struggling with comparing two columns of data, and populating another column if matchi

    Hi Guys,


    Thanks very much for the replies. I have attached a file that will give a fair representation of what I'm trying to do, I can't upload the originals, they are way to big.

    Rosboy, basically I have 13 seperate spreadsheets of products that represent sheets B through N. Sheet A is the master price list (Circa 15,000 products) So the data won't be in order as per the attachment. From my way of thinking, the formula will have to run from the each of the 13 sheets B though N to query the data on the Master price list sheet A and then populate the price column back on sheets B though N.

    Hope this makes sense
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    06-26-2012
    Location
    new york
    MS-Off Ver
    Office Enterprise 2007, Office Professional Plus 2010, Office Professional Plus 2013
    Posts
    35

    Re: Struggling with comparing two columns of data, and populating another column if matchi

    Here is the attached file. Example Using Vlookup.xlsx.
    If you have any additional questions feel free to post back.
    Thanks.

  7. #7
    Registered User
    Join Date
    09-19-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    3

    Red face Re: Struggling with comparing two columns of data, and populating another column if matchi

    Gents,

    Thanks very much for your help, really appreciated.


    I will put this to the test today and see if I can get it to work.

    Thanks again

  8. #8
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Struggling with comparing two columns of data, and populating another column if matchi

    Hi CoryGreen

    Do you mean something along these lines!
    Attached Files Attached Files
    Last edited by Kevin UK; 09-21-2012 at 05:01 AM.

+ 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