Using validated data text to represent values for calculation purposes elsewhere

jasonMax

New Member
Joined
May 31, 2012
Messages
1
I am creating a resource allocation spreadsheet. On one sheet I am list various Job Titles and I ask the user to input the Salaries associated with them, and the Number of each job title at the company (ie: Secretary: makes $45,000 and there are 3 of them, etc.). These are all in different cells, nothing tricky here.
On a second sheet I have a list of tasks, and am asking the user to select from a drop-down list of the job titles to indicate which job personnel work on each task, and an amount of time they spend on each task. There iwll be a drop down list for the job description selection, and then a field for entry of the time spent each week on each task. I have created the validated list for the drop-down, no problem.
My confusion is that I want the system to know that when the user selects "Secretary" and 8 hours, the system will use $45,000 per year and 8 hours per week in the calculation of how much the time allocation costs.

So, when I want to use an output calculation field somewhere that calculates and shows the total cost of the time spent doing a task, all the user sees is a dropdown list and selects "Secretary" and a field where he enters "8 hours per week", and the caculation knows to use $45,000 per year and 8 hours per week in the calculation. In other words, I don't want the user to have to input the $45,000 on this sheet, just the job title.

basically, I want to assign values (salaries, already known for each job title) to variables (the job title selected in the field) and use the values behind the scenes...


All i can find on this is combining text and values in a cell, which is not what I want to do. It is also enough variables that I don't want to use a lot of "if" statements.


thanks for the help!!!
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
The easiest way is probably to have that info on the original list - wherever you're pulling the list from, have the salaries the next column over; then have the formula on the new sheet do the calculation with a VLOOKUP.
 
Upvote 0

Forum statistics

Threads
1,226,104
Messages
6,188,947
Members
453,513
Latest member
biovio

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