I earn the amount 100 per hour. I currently have an excel sheet, that calculates my total number of hours x 100.
When I have worked more than 7.5 hour, I go into overtime, which means that i earn 150 instead. How do I add that to my excel function?
|
I earn the amount 100 per hour. I currently have an excel sheet, that calculates my total number of hours x 100. When I have worked more than 7.5 hour, I go into overtime, which means that i earn 150 instead. How do I add that to my excel function? |
|||||||||||
|
Questions on Mathematics Stack Exchange are expected to relate to math within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
|
You didn't come to the ideal site for this sort of help, but what you could do is look up the syntax for IF statements and make your cell compute something like this: IF hours.today > 7.5 THEN 100*7.5+150*(hours.today-7.5) OTHERWISE 100*hours.today |
|||
|
|
|
The simplest relationship to encode in Excel is probably
(Excel has max and min functions. Plug in your cell ranges where $x$ is.) |
|||
|
|