Category Mapping based on Multiple conditions

harinsh

Active Member
Joined
Feb 7, 2012
Messages
273
Hi Team

I am looking for help in getting require category mapping based on multiple conditions....

Here is the Dataset ...

ProductPriceRegion
P-1 360 N
P-2 347 N
P-3 452 S
P-4 179 S
P-1 345 E
P-2 274 W
P-3 207 E
P-4 177 E
P-5 177 E

<tbody>
</tbody>

Mapping
ProductRegionCategory
P-1NCategory 1
P-2SCategory 1
P-3SCategory 2
P-5NCategory 2
P-4ECategory 2

<tbody>
</tbody>


Require output based mappings table condition


ProductPriceRegionCategory
P-1 360 NCategory 1
P-2 347 NNA
P-3 452 SCategory 2
P-4 179 SNA
P-1 345 ENA
P-2 274 WNA
P-3 207 ENA
P-4 177 ECategory 2
P-5 177 ENA

<tbody>
</tbody>
 
Last edited:

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,214,827
Messages
6,121,821
Members
449,049
Latest member
cybersurfer5000

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