IF function

lildoe_onfire

New Member
Joined
Aug 25, 2002
Messages
1
if Hours,=40, then Gross Pay= Rate*Hours, otherwise Gross Pay = Rate * Hours + .5 * Rate* (Hours-40)

What in the World does this mean? I am so confused
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hi - welcome to the board.

It means you get paid time & a half for any hours worked over 40 hours.

Need any more?

Paddy
 
Upvote 0
Book4
ABCDEF
1RateHoursWorkedPay-allatnormalratesPaywithovertime
2EmployeeA$10.0039$390.00$390.00
3EmployeeB$10.0040$400.00$400.00
4EmployeeC$10.0041$410.00$415.00
5
6
7IF(C2<=40,C2*B2,(40*B2)+(C2-40)*(B2*1.5))
8Thissays-ifc2islessthanorequalto40,multiplyc2byb2.
9I.E.Ifyou'veworked40hoursorless,yougetpaidatthestandardhourlyrate.
10But,ifyouhaveworkedover40hours,yougetpaidatthestandardrateforyour
11first40hours(40*B2)plusyougetpaidattimeandahalffortheextrahours.
12So,workouthowmanyhoursthatis(c2-40)andmultiplythisby1.5timesthe
13standardhourlyrate(C2-40)*(B2*1.5)
14
15
Sheet3
 
Upvote 0

Forum statistics

Threads
1,215,497
Messages
6,125,155
Members
449,208
Latest member
emmac

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