Basis Of Estimate with hours in Excel

So I have this spreadsheet that I need hours calculated based on a hourly rate.

On row 11 I want to be able to change the hours accordingly with column D having the hourly rate and update the cells with the new cost.  The calculation should include 1.5 times anything over 40 hours.

For example:  45 in cell K11on row 11 = 40 X $125 and 5 x 187.5 = $5,937.50
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

abbas abdullaCommented:
Hi Luis,
in cell F12 paste this formula =IF(F$11<=40,$D12*F$11,SUM((40*$D12),MOD(F11,40)*$D12*1.5))
then drag it down and right.

Rob HensonFinance AnalystCommented:
Simpler formula:


Even simpler:



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rob HensonFinance AnalystCommented:
Simplified some of your other formulas as well.

Row 7 Dates, converted to using CHOOSE function rather than multiple IF statements:
F7 =CHOOSE(MATCH($D5,{"Daily","Weekly","Monthly","Quarterly"},0),D4+(D7-1),D4+7*(D7-1),EDATE($D$4,($D$7-1)),EDATE($D$4,3*($D$7-1)))
G7:X7 =CHOOSE(MATCH($D5,{"Daily","Weekly","Monthly","Quarterly"},0),F7+1,F7+7,EDATE($D$4,G9-1),EDATE($D$4,3*(G9-1)))

Row 8 dates, don't need the LEFT and RIGHT functions to convert the date into a string:

TEXT(F7,"mmm")  will only be 3 characters so don't need to use LEFT(#,3) to get 3 characters
Note in the TEXT(F7,"'yy")  I have included the ' in the text format parameter.

Conditional formatting to get red lines:

FLOOR function rounds a number down by the specified factor, in this case 7, which rounds down to the previous Saturday; by adding two you then get the Monday date.
LUIS FREUNDAuthor Commented:
Thanks Gents....extremely appreciative!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.