Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2017, 08:50 AM
jllee14 jllee14 is offline Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Windows 10 Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Office 2013
Novice
Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay?
 
Join Date: Feb 2017
Posts: 8
jllee14 is on a distinguished road
Default Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay?


I'm doing a project for a computer class and I have a group of hypothetical employees.

There are three columns: employee, hours worked, and wage. Is there a way to format the employee's name so that when I type it and hit enter, it calculates their hours worked for that day multiplied by their hourly rate?

Any help would be greatly appreciated!! Thanks!
Reply With Quote
  #2  
Old 02-17-2017, 09:14 AM
xor xor is offline Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Windows 10 Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Like this?
Attached Files
File Type: xlsx Wage.xlsx (13.8 KB, 19 views)
Reply With Quote
  #3  
Old 02-18-2017, 08:13 AM
jllee14 jllee14 is offline Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Windows 10 Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Office 2013
Novice
Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay?
 
Join Date: Feb 2017
Posts: 8
jllee14 is on a distinguished road
Default

Quote:
Originally Posted by xor View Post
Like this?
Sort of. I did think about having a column for hourly rate and formatting the wage column to calculate hours*hourly rate, however I am also having columns for things like overtime, sick, and being late. I wanted to keep the table as streamlined as possible, minimize the amount of columns, if that makes sense? I also thought I could have their wage rate on a separate sheet and have the formula for wage reference the info on that sheet. Ideally though, I would like to be able to type in the name of the employee and that name is formatted to calculate their hourly rate by referencing the hours listed in a given row. I know you can name a cell or a group of cells, but couldn't figure out how to attribute a formula to a name that you type into a cell. I don't know if this is possible but it would make things so much easier if it were!!
Reply With Quote
  #4  
Old 02-18-2017, 08:36 AM
xor xor is offline Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Windows 10 Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Try to set up your sheet as you want it, upload the file and I shall see if I can help with a formula (please mention if you enter hours as for example 7 instead of 7:00).
Reply With Quote
  #5  
Old 02-18-2017, 10:15 AM
jllee14 jllee14 is offline Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Windows 10 Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Office 2013
Novice
Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay?
 
Join Date: Feb 2017
Posts: 8
jllee14 is on a distinguished road
Default

That would be awesome, thank you! I have a busy weekend, so I'll probably upload it tomorrow or Monday
Reply With Quote
  #6  
Old 02-19-2017, 08:13 AM
jllee14 jllee14 is offline Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Windows 10 Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Office 2013
Novice
Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay?
 
Join Date: Feb 2017
Posts: 8
jllee14 is on a distinguished road
Default

Here you go. Thanks again!
Attached Files
File Type: xlsx Payroll Project.xlsx (18.4 KB, 17 views)
Reply With Quote
  #7  
Old 02-19-2017, 11:12 AM
xor xor is offline Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Windows 10 Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Take a look at the attached.


Edit:

I forgot to multiply by hours so the formulas in F5 and G5 should be:

=IF([@Hours]="","",INDEX(Rates!$B$4:$B$8,MATCH([@Employee],Rates!$A$4:$A$8,0))*[@Hours])

=IF([@Hours]="","",INDEX(Rates!$C$4:$C$8,MATCH([@Employee],Rates!$A$4:$A$8,0))*[@Hours])
Attached Files
File Type: xlsx Payroll Project_2.xlsx (21.3 KB, 13 views)

Last edited by xor; 02-20-2017 at 01:29 AM.
Reply With Quote
  #8  
Old 02-25-2017, 11:15 AM
jllee14 jllee14 is offline Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Windows 10 Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Office 2013
Novice
Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay?
 
Join Date: Feb 2017
Posts: 8
jllee14 is on a distinguished road
Default

I am so sorry for this late reply! I had two tests this week that monopolized my time and the notifications for this website go in my junk mail. I really appreciate your input on this, so thank you for the time you're spending trying to figure it out!!
Attached Files
File Type: xlsx Payroll Project_2.xlsx (21.5 KB, 8 views)
Reply With Quote
  #9  
Old 02-25-2017, 11:50 AM
xor xor is offline Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Windows 10 Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Is this better?

(Only change is that I have applied the formulas I stated in#7).
Attached Files
File Type: xlsx Payroll Project_3.xlsx (21.8 KB, 8 views)
Reply With Quote
  #10  
Old 02-25-2017, 01:46 PM
jllee14 jllee14 is offline Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Windows 10 Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Office 2013
Novice
Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay?
 
Join Date: Feb 2017
Posts: 8
jllee14 is on a distinguished road
Default

That is exactly what I had in mind!! Ah, thank you! Now I just have two questions at the moment:
-If I need to add more employees, and let's say that takes it down to row 14 in the Rates table. I would then just change your formula to

Net pay =IF([@Hours]="","",INDEX(Rates!$B$4:$B$9,MATCH([@Employee],Rates!$A$4:$A$14,0))*[@Hours])

and

Billing
=IF([@Hours]="","",INDEX(Rates!$C$4:$C$9,MATCH([@Employee],Rates!$A$4:$A$14,0))*[@Hours])

right?

-Do you mind explaining this in case I need to do something similar in the future?
Reply With Quote
  #11  
Old 02-25-2017, 02:02 PM
jllee14 jllee14 is offline Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Windows 10 Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Office 2013
Novice
Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay?
 
Join Date: Feb 2017
Posts: 8
jllee14 is on a distinguished road
Default

I reviewed our previous conversation, and amidst the busy week, I had forgotten #7. Lol thank you for adding the correction.
Reply With Quote
  #12  
Old 02-25-2017, 11:07 PM
xor xor is offline Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Windows 10 Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

See comments in Payroll Log.
Attached Files
File Type: xlsx Payroll Project_3.1.xlsx (24.1 KB, 13 views)
Reply With Quote
  #13  
Old 02-26-2017, 08:33 AM
jllee14 jllee14 is offline Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Windows 10 Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Office 2013
Novice
Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay?
 
Join Date: Feb 2017
Posts: 8
jllee14 is on a distinguished road
Default

Quote:
Originally Posted by xor View Post
See comments in Payroll Log.
Awesome, thank you! Your input really exceeded all expectations. I really appreciate the help. I've got a busy week again coming up, but looked at your corrections and suggestions. I'll play around with it Thursday or Friday and let you know if I have any final questions!

I have a general question, if you don't mind me asking. How did you become so good at excel? Was it a class or just through experience? I'm in a class now, and am vaguely familiar with the index function, name manager, etc., but nowhere near where I'm able to get creative and apply it to specific rules/tables/situations (..clearly).

Thanks again!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I type over a cell with a border? Juju37 Excel 0 01-20-2015 07:40 AM
calculate date if date entered in cell, do nothing if blank ConfuddledOne Excel 3 11-07-2014 09:37 AM
Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? Assign the value of a cell as a cell reference of another cell in Excel 2010 - How to? bharathkumarst Excel 7 10-13-2014 10:25 AM
Is there a way in Excel to type a person's name in a cell and have it calculate their gross pay? trying to use vlookup to calculate several different situations in one cell heastlund Excel 3 11-21-2013 12:38 PM
Can't type in a cell gbaker Excel 4 08-03-2012 04:24 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:57 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft