Transition data to assigned columns

smalik

Board Regular
Joined
Oct 26, 2006
Messages
186
Office Version
  1. 365
Platform
  1. Windows
I like to transition data to assigned columns.

My apology in advance. I am using a company computer that has disabled installing any applications/add-ins, so I cannot provide an XL2BB file. Hopefully, I can explain the dilemma clearly using a snap shot.

  • Source system has four fields (highlighted in Blue)
  • Destination System has ten fields (highlighted in Yellow)
  • A mapping table is created at the bottom (highlighted in Green)

I like to transfer the data from blue section to the yellow section based on the mapping in Green section.

It would have been an easier task if it was a one time deal. However, Several source systems have different assignments. For example, one source system can have "CSR" mapped to "Role-5" while another system may have that mapped to "Role-10"

Also, sometimes one role (source system) can mapped to two roles (destination system). CSR as an example here (Role-5 & Role-7)

What is the best way to transition this data. I just thought of the mapping table, However, if there is a better way, I am open to that option as well.

Please feel free to ask questions if I did not explain the dilemma clearly.

Any help is greatly appreciated.


1699401913076.png
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
What is the desired outcome for that sample data?
Please manually fill that in then copy range B2:R25 and paste directly into the forum. It will not be as good as XL2BB but at least helpers will be able to copy it for testing, unlike the image.
 
Upvote 0
Hope this is helpful. It does not get the row and column titles.



Source SystemDestination System
ExecutiveCSRAcct ManagerProducerRole-1Role-2Role-3Role-4Role-5Role-6Role-7Role-8Role-9Role-10
Policy-1MurraySmithBobbyChrisPolicy-1BobbyMurraySmithSmithChris
Policy-2SmithJohnSmithAntonioPolicy-2SmithSmithJohnJohnAntonio
Policy-3SmithJohnBobbyDenisePolicy-3BobbySmithJohnJohnDenise
Policy-4HenryTonySmithDenisePolicy-4SmithHenryTonyTonyDenise
Policy-5DonaldSamanthaSmithChrisPolicy-5SmithDonaldSamanthaSamanthaChris
Policy-6HenrySamanthaSmithDenisePolicy-6SmithHenrySamanthaSamanthaDenise
Policy-7DonaldCarmenSmithJohnPolicy-7SmithDonaldCarmenCarmenJohn
Policy-8DonaldCarmenSmithAntonioPolicy-8SmithDonaldCarmenCarmenAntonio
Policy-9DonaldStephanieBobbyChrisPolicy-9BobbyDonaldStephanieStephanieChris
Policy-10HenrySmithJohnChrisPolicy-10JohnHenrySmithSmithChris
Define/Map Roles
Role-1Acct Manager
Role-2
Role-3Executive
Role-4
Role-5CSR
Role-6
Role-7CSR
Role-8
Role-9Producer
Role-10
 
Upvote 0
Hope this is helpful.
It certainly is since we can copy it. Thanks.

It does not get the row and column titles.
Sure, but we can easily see where to paste from your image or, if there was no image you just need to say, for example, "Source System is in cell C1"

See if this would suit you.

23 11 08.xlsm
BCDEFGHIJKLMNOPQR
1Source SystemDestination System
2ExecutiveCSRAcct ManagerProducerRole-1Role-2Role-3Role-4Role-5Role-6Role-7Role-8Role-9Role-10
3Policy-1MurraySmithBobbyChrisPolicy-1Bobby Murray Smith Smith Chris 
4Policy-2SmithJohnSmithAntonioPolicy-2Smith Smith John John Antonio 
5Policy-3SmithJohnBobbyDenisePolicy-3Bobby Smith John John Denise 
6Policy-4HenryTonySmithDenisePolicy-4Smith Henry Tony Tony Denise 
7Policy-5DonaldSamanthaSmithChrisPolicy-5Smith Donald Samantha Samantha Chris 
8Policy-6HenrySamanthaSmithDenisePolicy-6Smith Henry Samantha Samantha Denise 
9Policy-7DonaldCarmenSmithJohnPolicy-7Smith Donald Carmen Carmen John 
10Policy-8DonaldCarmenSmithAntonioPolicy-8Smith Donald Carmen Carmen Antonio 
11Policy-9DonaldStephanieBobbyChrisPolicy-9Bobby Donald Stephanie Stephanie Chris 
12Policy-10HenrySmithJohnChrisPolicy-10John Henry Smith Smith Chris 
13
14
15Define/Map Roles
16Role-1Acct Manager
17Role-2
18Role-3Executive
19Role-4
20Role-5CSR
21Role-6
22Role-7CSR
23Role-8
24Role-9Producer
25Role-10
smalik
Cell Formulas
RangeFormula
I3:R12I3=FILTER($C3:$F3,$C$2:$F$2=XLOOKUP(I$2,$C$16:$C$25,$D$16:$D$25),"")
 
Upvote 0
Solution
It certainly is since we can copy it. Thanks.


Sure, but we can easily see where to paste from your image or, if there was no image you just need to say, for example, "Source System is in cell C1"

See if this would suit you.

23 11 08.xlsm
BCDEFGHIJKLMNOPQR
1Source SystemDestination System
2ExecutiveCSRAcct ManagerProducerRole-1Role-2Role-3Role-4Role-5Role-6Role-7Role-8Role-9Role-10
3Policy-1MurraySmithBobbyChrisPolicy-1Bobby Murray Smith Smith Chris 
4Policy-2SmithJohnSmithAntonioPolicy-2Smith Smith John John Antonio 
5Policy-3SmithJohnBobbyDenisePolicy-3Bobby Smith John John Denise 
6Policy-4HenryTonySmithDenisePolicy-4Smith Henry Tony Tony Denise 
7Policy-5DonaldSamanthaSmithChrisPolicy-5Smith Donald Samantha Samantha Chris 
8Policy-6HenrySamanthaSmithDenisePolicy-6Smith Henry Samantha Samantha Denise 
9Policy-7DonaldCarmenSmithJohnPolicy-7Smith Donald Carmen Carmen John 
10Policy-8DonaldCarmenSmithAntonioPolicy-8Smith Donald Carmen Carmen Antonio 
11Policy-9DonaldStephanieBobbyChrisPolicy-9Bobby Donald Stephanie Stephanie Chris 
12Policy-10HenrySmithJohnChrisPolicy-10John Henry Smith Smith Chris 
13
14
15Define/Map Roles
16Role-1Acct Manager
17Role-2
18Role-3Executive
19Role-4
20Role-5CSR
21Role-6
22Role-7CSR
23Role-8
24Role-9Producer
25Role-10
smalik
Cell Formulas
RangeFormula
I3:R12I3=FILTER($C3:$F3,$C$2:$F$2=XLOOKUP(I$2,$C$16:$C$25,$D$16:$D$25),"")
This worked..... Thank you.
 
Upvote 0
You're welcome. Glad it helped. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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