Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Search and Modify Value in a Column

$
0
0

HI All,

 

I am trying to update values in a particular column based on values in another column.

 

OrgSystem 1 OrgSystem 2 Org 
Sales (Mark)Sales (Mark)Sales 
East Sales (John) , West Sales (Carl)East Sales (John) ; West Sales (Carl)West Sales 
Finance (Rob), Accounting (J)Finance (Rob) ; Accounting (J)Finance 

 

in the above table , the main column Org is copy of values from System 1 Org, However, there will be records where the data isnt 100% Clean. As you can see from Row 2 and 3 it contains 2 Org Names and their corresponding supervisor. I want to clean up the Org column based on the true value from System 2 Org.

 

For Row 2 , the Correct value should be West Sales (Carl). / Row 3 -- Finance (Rob).

Is there any way i can search for a match of the system 2 org value in Org column and keep only that value . Keep in mind , i am not looking to replace the value in Org column with the value in System 2 Org as i need to retain the supervisor name in the brackets.

 

Thanks

SR


Viewing all articles
Browse latest Browse all 4999

Trending Articles