Multiply Cell by Two Different Numbers Based on Range

brandon12

New Member
Joined
Sep 12, 2018
Messages
32
I am attempting to create a formula in B6 that considers the following criteria:

If SUM B1:B2 <100
  • then SUM(B1:B3)*28
If SUM B1:B2 >100
  • then multiply the first 99 hours by $28 and every hour worked thereafter by $32. Then add B3*28.
* B1 & B2 are the only hours to be considered regarding < or > criteria (not B3).
** This is a large spreadsheet that I cannot add-in any additional tables for reference. I need a formula that references only current established cells.

Capture.JPG


Any assistance is greatly appreciated!
 

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.
Simple method based on the example provided.
Excel Formula:
=SUM(B1:B3)*B4+MAX(0,SUM(B1:B2)-99)*4
Note that the multiplier of 4 at the end of the formula is actually $4.00 ($32.00-$28.00) or the difference between the two hourly rates.
 
Upvote 0
Solution
Simple method based on the example provided.
Excel Formula:
=SUM(B1:B3)*B4+MAX(0,SUM(B1:B2)-99)*4
Note that the multiplier of 4 at the end of the formula is actually $4.00 ($32.00-$28.00) or the difference between the two hourly rates.
When I enter the formula you provided it provides me with $12,793.00. I calculated manually and the formula should compute $3,188.00.
 
Upvote 0
brandon12, Good evening.

The formula from jasonb75 is a good formula. Very clever!

Just a little TYPO: Change B4 to B5 in the formula.

I hope it helps.
 
Upvote 0
Simple method based on the example provided.
Excel Formula:
=SUM(B1:B3)*B4+MAX(0,SUM(B1:B2)-99)*4
Note that the multiplier of 4 at the end of the formula is actually $4.00 ($32.00-$28.00) or the difference between the two hourly rates.
Thanks Jason! After changing B4 to B5 I obtained the answer I was looking for.
 
Upvote 0
Oops, my bad :oops:
When I copied the example over to excel to do a quick test on the formula I missed the 'Total hours' and moved the hourly rate up in error.
@Marcílio_Lobão thanks for correcting my mistake (y)
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
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