Replace data based on criteria

wcthrill

Board Regular
Joined
Nov 28, 2005
Messages
80
I have a huge column that has product codes. Different reps handle diffrent prod. How can I have a col that will add the corresponding Rep next to the product? I thought about an if statment but its far too may products
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Setup a lookup table and use the VLOOKUP function. Check out Excel's help for details and examples for VLOOKUP.
 
Upvote 0
When you say:

Code:
add the corresponding Rep next to the product

You mean you have product code in column A and Rep in Column B.
If your reps are Bob, Bill, & Ted, you want to add how many products Bob, Bill, & Ted have, correct?

Michael :roll:
 
Upvote 0
Col A will have prod Col B will have rep names
I want Col A to show All the prod that relate to that particular Rep. Many prod ..few reps. If I can have that cell where the prod code chg based on the rep I can then sort out much easier. All I have now is 1 Col that has numerous prod. I want to add an addtl Col that will have the proper Reps
 
Upvote 0
I see You have a list in Column A of a couple hundred products. You want to easily add a sales rep to those hundred products.

If this is the case, type in the reps name next to the first product go in order. As you go the reps name will start to fill in as you type, just hit enter when the aouto fill starts their name.

The only other thing is if you have products you know that only one rep sells, then you could sort your items accordingly, then copy and paste the salesmans name next to those items.

If this is not what you are looking for, send a sample of the data. If you don't already have it, use Colo's HTML maker at the bottom of this page to send a sample.

Hope this Helps,
Michael
 
Upvote 0

Forum statistics

Threads
1,224,271
Messages
6,177,598
Members
452,784
Latest member
talippo

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