Data Mapping

zinah

Active Member
Joined
Nov 28, 2018
Messages
368
Office Version
  1. 365
Platform
  1. Windows
Hi,

One of the challenges that some of us are facing is data mapping and I'm sure some of the respected members here have some solutions or suggestions. What I have is below example and what I need is to know if there's anyway that I can automate the cleaning by a formula?
The company name column is where a user update the company name periodically and sometimes they put different name for the same company and below I put Amazon as an example. Is there a formula I can use to map the company name to a specific company (i.e. Amazon AWS to Amazon?)


Book3
AB
1Company NameMapped Company
2AmazonAmazon
3Amazon - LondonAmazon
4Amazon AWSAmazon
5Amazon Development CenterAmazon
6Amazon Development Centre IndiaAmazon
7AMAZON INCAmazon
8Amazon Lab126Amazon
9Amazon Web ServicesAmazon
10Amazon Web Services (AWS)Amazon
11Amazon Web Services(AWS)Amazon
12Amazon, HyderabadAmazon
13Amazon.com, IncAmazon
14AWSAmazon
15AWSAmazon
16AWS AmazonAmazon
17AWS SecurityAmazon
18Amazon WebservicesAmazon
Sheet1
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Why not just use FIND. I think probably other better way than my formula here
Book1.xlsx
AB
1Company NameMapped Company
2AmazonAmazon
3Amazon - LondonAmazon
4Amazon AWSAmazon
5Amazon Development CenterAmazon
6Amazon Development Centre IndiaAmazon
7AMAZON INC 
8Amazon Lab126Amazon
9Amazon Web ServicesAmazon
10Amazon Web Services (AWS)Amazon
11Amazon Web Services(AWS)Amazon
12Amazon, HyderabadAmazon
13Amazon.com, IncAmazon
14AWS 
15AWS 
16AWS AmazonAmazon
17AWS Security 
18Amazon WebservicesAmazon
Sheet2
Cell Formulas
RangeFormula
B2:B18B2=IFERROR(IF(FIND("Amazon",A2),"Amazon",""),"")
 
Upvote 0
Why not just use FIND. I think probably other better way than my formula here
Book1.xlsx
AB
1Company NameMapped Company
2AmazonAmazon
3Amazon - LondonAmazon
4Amazon AWSAmazon
5Amazon Development CenterAmazon
6Amazon Development Centre IndiaAmazon
7AMAZON INC 
8Amazon Lab126Amazon
9Amazon Web ServicesAmazon
10Amazon Web Services (AWS)Amazon
11Amazon Web Services(AWS)Amazon
12Amazon, HyderabadAmazon
13Amazon.com, IncAmazon
14AWS 
15AWS 
16AWS AmazonAmazon
17AWS Security 
18Amazon WebservicesAmazon
Sheet2
Cell Formulas
RangeFormula
B2:B18B2=IFERROR(IF(FIND("Amazon",A2),"Amazon",""),"")
Thank you for your input. I have so many companies in my list. I only gave one example i.e. Amazon what about other companies?
 
Upvote 0
Thank you for your input. I have so many companies in my list. I only gave one example i.e. Amazon what about other companies?
If you have many companies that you need to map, then I think formula is not a good solution. You need VBA. You can always add or remove list for company names from a table list which can be in one of Excel sheet, not hard coded into the macro itself.

Probably you need to give scenario on how you approach your work for helpers to give suitable solution.
 
Upvote 0
If you have many companies that you need to map, then I think formula is not a good solution. You need VBA. You can always add or remove list for company names from a table list which can be in one of Excel sheet, not hard coded into the macro itself.

Probably you need to give scenario on how you approach your work for helpers to give suitable solution.
That can be an option, but I'm not that familiar with VBA.
My current scenario is: I have a lookup table that has the name of the company (correct name) and other column has all the expected names of this company that users update periodically. I do index/match every month from this table and map the new companies accordingly. But this process has to have manual steps, as I usually get n/a and need to map each company one by one and it takes a lot of time. That's why I need to automate this process as much as I can, by a new formula or other suggested solution from members here.
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,190
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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