Compare similar company names between two tables and return one of the values

realtoast

New Member
Joined
Nov 24, 2015
Messages
47
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
I have two tables, each with around 100 unique companies. One table has a field, Client, with rows containing business names. The other table has a field, Organization Name, with rows containing the same businesses, but with the company names slightly different.

Table 1 is revenue per company, Table 2 is summarized expenses per company. I need to compare revenue to expenses, per company.

Table 1 shows monthly company revenues and Table 2 is a list of company expenses. There is no index or common unique identifier in either table. The only way I can join these two tables is by names, but the names are slightly different. In most instances, the difference is Table 1 has the full legal name of the company, and Table 2 has a more informal version. Plus, Table 2 has dozens of records per company. For instance, ABC Plumbing, Inc. and ABC Plumbing.

Is there a way, in Table 2, to compare the two tables and return the company name value in Table 1 to a field in Table 2, say, called "Normalized"? The purpose is to create joinable fields.

Thanks!

Table 1
CompanyNameCityState
ABC Plumbing, Inc.CharlotteNC
Charcoal Is Us, LLCSacramentoCA
Doorknob Emporium, Inc.PhoenixAZ
Very Small Rocks, LLCChicagoIl
Cous Cous Cous, LLCBoiseID

Table 2
CompanyNameNormalizedCityState
ABC=formula hereCharlotteNC
Charcoal Is UsSacramentoCA
Doorknob EmporiumPhoenixAZ
Very Small RocksChicagoIl
Cous Cous CousBoiseID
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
try this:
Excel Formula:
Normalized=INDEX($A$2:$A$6,MATCH(A14&"*",$A$2:$A$6,0))
 

Attachments

  • Screenshot 2024-01-11 085941.png
    Screenshot 2024-01-11 085941.png
    20.5 KB · Views: 59
Upvote 1
Solution

Forum statistics

Threads
1,223,888
Messages
6,175,203
Members
452,617
Latest member
Narendra Babu D

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top