Question about selecting name

SpaSpa

New Member
Joined
Sep 10, 2002
Messages
5
I'm a newbie to the finer points of excel. I am familiar with the basics, but am ready to take the next step.

Here's the challenge I've been trying to solve:

I record sales and commissions for three different sales people. Each works at a different commission rate. I want to be able to type the NAME of a sales person in the Sales Rep Column and then have his commission rate automatically enter into the Commission Rate column.

There are other things I'd like to do, too, but if someone can help me with the correct formula and/or procedure to do this, then I think I can get the other formulas to work, too.

Many thanks!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
One way is, you could put this in your Commission Rate column and fill down
=IF(A1="Tom",0.25,IF(A1="Jim",0.5,IF(A1="Sam",0.75,"")))
On 2002-09-11 19:17, SpaSpa wrote:
I'm a newbie to the finer points of excel. I am familiar with the basics, but am ready to take the next step.

Here's the challenge I've been trying to solve:

I record sales and commissions for three different sales people. Each works at a different commission rate. I want to be able to type the NAME of a sales person in the Sales Rep Column and then have his commission rate automatically enter into the Commission Rate column.

There are other things I'd like to do, too, but if someone can help me with the correct formula and/or procedure to do this, then I think I can get the other formulas to work, too.

Many thanks!



_________________<FONT SIZE=4 COLOR="red">Paul B</FONT>
Remember To Always Back Up Your Data Before Trying Something New
Using Excel '97
This message was edited by Paul B on 2002-09-11 19:34
 
Upvote 0
Hi Paul,

Thanks for your quick help. Your suggestion works just fine. I have been searching around this site, too, and answered another question I had about creating "lists" and drop-down boxes. I spent WEEKS trying to figure that out! This is an incredibly helpful resource.

I do have a second question if you happen to come back:

Here is the situation I am ultimately trying to figure out:

John, Sells Package A, gets 65%
John, Sells Package B, gets 55%

Bill, Sells Package A, gets 65%
Bill, Sells Package B, gets 45%

So you see, I am actually juggling three variables. Salesman / Package / Commission.

I want to be able to choose the salesman from a drop down list ( which I've mangaged to figure out) then select the pacakge (for which I'll create another dropdown list) and finally have the percentage applicable to that salesperson AND the package enter into another column.

Is there ONE example of a formula that you can offer for one salesman that I can then extrapilate to apply to the other variables?

Is there other solution you would recommend to keep this straight. I'm not afraid to learn something just slightly ahead of my "grasp", so if you have a suggestion......
 
Upvote 0
You can use DGET for this, as follows.

You can have data validation lists in F2 and G2 so you can choose from a dropdown, instead of typing each desired value.

The results are either H2 or H3, it's basically the same formula, just showing a minor difference in there...
Book2
ABCDEFGH
1SalesmanPackageComissionSalesmanPackageComission
2JohnPackageA65%JohnPackageB55%
3JohnPackageB55%55%
4BillPackageA65%
5BillPackageB45%
6AlPackageA35%
7AlPackageB45%
8AlPackageC65%
Sheet1
 
Upvote 0
Hi Juan and Paddy,

Thanks Juan for the info, and Paddy for confirmation. I like what you showed me. I'll work on this and relay the results, but this looks pretty straight forward.

Many thanks to you for helping.

Cheers.
 
Upvote 0
OK,

I've played around with this and it actually looks likt it is going to work just fine. Here's the next question: If I want to have my source on a different spreadsheet, will this make a difference as to how the link will be made?

I do understand about the drop-down lists for the columns F & G, but I would like to have the info in columns A through C on a different spreadsheet (same workbook).

Any thoughts? I'll keep looking until then....

Many thanks.
 
Upvote 0
I have now figured out how to move the data onto another page. Just copy and paste it elsewhere.... Success!

In playing with the code, however, I am running into a problem:

Suppose I want a list of entries in columns F:H. In other words, a listing of the staff, the package and the corresponding commissions. I tried cutting and pasting the formula (and I also tried adjusting the formula, but I only seem to get error and #VALUE warnings for subsiquent enteries.

Hope you can help.
 
Upvote 0
Try the array entered index formula suggested in the link - IMHO database functions can be a pain to set up for multiple records.

Paddy
 
Upvote 0

Forum statistics

Threads
1,213,544
Messages
6,114,249
Members
448,556
Latest member
peterhess2002

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