+ Reply to Thread
Results 1 to 4 of 4

Pull data from one column based on the company names in 2 others

  1. #1
    Registered User
    Join Date
    06-27-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    13

    Question Pull data from one column based on the company names in 2 others

    Hi everyone!

    I've been mulling over how to handle this problem for a bit and can't quite figure it out. Here is what I am trying to accomplish:


    Capture.PNG
    I need to compare the first and third columns to see which companies are present in both, so I highlighted the duplicates, no problem. However, the end goal is cross-referencing the companies in Column A with those in Column. The quirk here is that the two lists of companies are very different lengths because some have assets and some do not. If a company has an asset -- like Company 1, in the example -- each asset is listed on a different row with all the rest of the same company info (name, etc.) populated in that row. Thus, some companies in Column A will have one row and others may have 5, while each company in Column C is only listed one time.
    Goal: To cross-reference Columns A and C, and pull the Company Size from Column D into a new column. The company size should populate on each of the rows where a matching company name is found from Column C. The Company Size in Column D, as shown, corresponds with the Company Name in Column C and NOT with the Column A list. So for instance, Column E's New Company Size should say LESS_50 on both rows 2 and 3 because Company 1 has fewer than 50 employees.

    Any ideas on how to get this done would be greatly appreciated! The company lists have between 1700-2100 entries, so going by hand is no bueno.

    Thanks a ton!
    Attached Images Attached Images

  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,508

    Re: Pull data from one column based on the company names in 2 others

    Add a column C. Than use VLOOKUP searching for the company in column A against the companies in column D (was C) and returning the value in column E (was D).

    Formula in column C:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy down.

    Regards, TMS
    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
    Registered User
    Join Date
    06-27-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    13

    Re: Pull data from one column based on the company names in 2 others

    Hi TMS,
    That's exactly what I needed! Definitely going to hop onto a VLOOKUP tutorial so I learn its ins and outs. Thank you!

  4. #4
    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,508

    Re: Pull data from one column based on the company names in 2 others

    You're welcome.

+ 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. cutting and Pasting through a loop based on the count of unique company names
    By mvneema in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2014, 05:35 PM
  2. Cleaning/normalizing company names in column?
    By jayber in forum Excel General
    Replies: 3
    Last Post: 07-25-2013, 05:52 PM
  3. [SOLVED] Link adresses column to company names column in Excel
    By QuentinTarantino in forum Excel General
    Replies: 5
    Last Post: 07-04-2013, 08:20 AM
  4. Formula to pull rows of data based on a column cell value (Criteria)
    By PaulLor89 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-30-2013, 11:26 AM
  5. [SOLVED] 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