+ Reply to Thread
Results 1 to 6 of 6

Pull data from one sheet to another if a company name matches

  1. #1
    Registered User
    Join Date
    10-17-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    4

    Pull data from one sheet to another if a company name matches

    This should be easy for an excel guru. I am good at Excel, but this is over my head. I have a excel workbook and I have one primary sheet that is pulling data from a database. In this sheet there is a column (B) that lists company names. the database value it is pulling is [@[company_name]]. There are roughly 200 rows that have unique company names in them, then there are about 10 columns that pull various information.

    I have another sheet in the same workbook that has data that is different. This data comes from another system that exports to excel, and I just copy from that export and paste it into this second sheet so the data is in the same workbook. It is not ideal but it is good enough. This sheet also has a row of company names that match exactly the company names on the first sheet. There are 5 columns of data in that sheet that I want copied over to the first sheet based on the match of the company names.

    So if companyA is found in sheet 2, then copy those 5 cells of data in that row to the designated 5 cells in sheet 1 that matches companyA.

    Hope that makes sense? Any help would be greatly appreciated.

  2. #2
    Registered User
    Join Date
    04-25-2009
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    84

    Re: Pull data from one sheet to another if a company name matches

    do you know how to use the vlookup function?, it seems that's all you need to do. Can you post a sample sheet to get better idea?

  3. #3
    Registered User
    Join Date
    10-17-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Pull data from one sheet to another if a company name matches

    Here is a sample workbook. I forgot one other complication at that is that in the second sheet there can be more than one row per company name. If that is the case I need to add up all the amounts in each column for that company name and put the sum in the first sheet in the right column for the company. Hopefully the workbook will make it clear.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-17-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Pull data from one sheet to another if a company name matches

    Oh and to answer your question, I am just barely familiar with VLookup and have not used it much. Appreciate any help you can provide. Thanks!

  5. #5
    Forum Contributor
    Join Date
    06-18-2014
    Location
    USA
    MS-Off Ver
    2013
    Posts
    142

    Re: Pull data from one sheet to another if a company name matches

    Maybe like attached, using SUMIFS function on Sheet 1?
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    10-17-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Pull data from one sheet to another if a company name matches

    Thank you so much. That works. I was totally looking at this the wrong way. I appreciate your help!

+ 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] Pull data from one column based on the company names in 2 others
    By excellerant8 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-02-2014, 10:21 AM
  2. Pull data from a specific sheet that matches cell value on Input Sheet
    By vaciaravino in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-12-2012, 08:38 PM
  3. [SOLVED] Multiple MATCHes required to pull correct (distinct) data
    By mmayna03 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-31-2012, 03:40 PM
  4. Replies: 2
    Last Post: 07-22-2010, 02:57 PM
  5. pull data for a company with data in diff cells multiple wrkshts
    By kcoachbiggs in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-08-2006, 05:30 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