Populating a wage based on a drop-down list

MDHolmes

New Member
Joined
Apr 14, 2022
Messages
8
Office Version
  1. 2010
Platform
  1. Windows
I'm pretty much self-taught on Excel, and I'm really having trouble with this...

I have two worksheets in my spreadsheet, the first is Labour Tracking, the second Data.

My Data worksheet has a list of seven employees in Column A and their corresponding wage in Column B. The number of employees could go up to ten.

My Labour Tracking worksheet has a dropdown list that's populated from 'Data'!A1:A7. I did that formula successfully : )

I already have a formula in Column S that would multiply Column Q (Time) by whatever the wage is, but I've been manually entering the wage up to this point because I don't know what formula to use. That's a pain :-/ and I'd love to not have to do my own math - Isn't that what Excel is here to help me with? :-P

So my question: I'd like the Wage column (R) on the Tracking worksheet to autopopulate with corresponding worker's wage once an employee is selected from the drop-down list. Is this possible?


If I could figure out a way to do this, then I could also use an IF statement to calculate the total wages for each employee on a particular job, which would be awesome! I'm pretty sure I've got that formula figured out. Just not this one :-/

Thank you so much for any assistance you can provide!!
 

Attachments

  • Tracking DropDown.PNG
    Tracking DropDown.PNG
    31 KB · Views: 44
  • Data Names_Wages.PNG
    Data Names_Wages.PNG
    13.7 KB · Views: 43
  • Column S Total Formula.PNG
    Column S Total Formula.PNG
    7.1 KB · Views: 43
  • Data Names_Wages.PNG
    Data Names_Wages.PNG
    13.7 KB · Views: 41
  • Tracking DropDown.PNG
    Tracking DropDown.PNG
    31 KB · Views: 38
  • Column S Total Formula.PNG
    Column S Total Formula.PNG
    7.1 KB · Views: 43

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Kept it to one sheet, but it's easily done on different sheets:

MrExcelPlayground8.xlsx
ABCDEFG
1One SheetAnother Sheet
2PersonWageHourstotalPersonWage
3George$50.005$250.00Fred$30.00
4Mary$70.004$280.00Harry$40.00
5Jamie$60.003$180.00George$50.00
6Harry$40.002$80.00Jamie$60.00
7George$50.006$300.00Mary$70.00
8Fred$30.007$210.00
9Mary$70.008$560.00
10Jamie$60.009$540.00
Sheet6
Cell Formulas
RangeFormula
B3:B10B3=VLOOKUP(A3,$F$3:$G$7,2,FALSE)
D3:D10D3=B3*C3
Cells with Data Validation
CellAllowCriteria
A3:A10List=$F$3:$F$7
 
Upvote 0
Hi,

Try this formula in Tracking sheet R11 copied down:

Excel Formula:
=VLOOKUP(P11,Data!A$1:B$10,2,0)
 
Upvote 0
Solution
Thank you both so much!! That was such a quick response. My data entry is going to be so much faster now <3 <3 <3 <3
 
Upvote 0
Kept it to one sheet, but it's easily done on different sheets:
Thank you, James - I'm going to have to practice more with yours as I'm not super clear on how it all works. But I really appreciate you responding =)
 
Upvote 0
You're welcome, thanks for the feedback.
 
Upvote 0
Maybe I don't have the subsequent formula down...

So now that I have @jtakw 's vlookup formula, I want to be able to calculate each employee's total billing amount. But nothing is coming up when I try to enter my formula in Column AB.

Column AA is populated using =(Data!A1), =(Data!A2), etc...

Am I not using the right formula command maybe?
 

Attachments

  • Total Per Employee.PNG
    Total Per Employee.PNG
    59.5 KB · Views: 22
Upvote 0
The first part of your formula, "mikehoffman" does Not exist in Column P, you Only have "mike" in Column P.
I think you should use AA10 instead of the name and Anchor the rows, like: =COUNTIF(P$11:P$26,AA10)

I have no idea what you're trying to do with the 2nd part of the formula COUNTIF(S11:S26,AB) as this formula is in AB10, will have circular referencing issues ??
 
Upvote 0
Sorry, that should have been "Mike".
I was thinking I'd use AA10 as well! And now that I think more about it, when I was trying to enter a formula with AA and AB, I failed to enter a cell number, so that could've been the problem.
Basically I'm trying to calculate Mike's total billable amount (each fella's actually). So I thought if I could make the formula find the "Mike" and then calculate the corresponding numbers in that row in column R, I'd have Mike's total billable amount for that particular job.
I'm going to need to take a course...
 
Upvote 0
When you say Column R, do you actually mean Column S, for the billable amount ?
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

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