What formula can I use for this?

lgarcia2509

New Member
Joined
Feb 27, 2023
Messages
11
Office Version
  1. 365
Platform
  1. MacOS
I’m working with a pricebook that has a row of pay rates ($20-$45) and includes columns of taxes under each pay rate all sectioned out by a specific profit margin percentage. I am trying to create a "rate card” on a separate sheet where you can type in any “pay rate” and it will calculate the value including taxes based off the percentage selected in a dropdown list (I’ve created on the rate card).

What formula can I use for this?
1677529762703.png
1677529814223.png
 
What I'm being asked is if I can create one cell in sheet1 where we can type in any pay rate and populate the corresponding bill rate, OT rate, holiday rate, and holiday OT rate based off a percentage selected in the drop-down (sheet1, A1) (5% = profit margin, B72 from pricing worksheet).

In sheet1, C2 should populate B77 (from the pricing worksheet), D2 should populate B79 (pricing worksheet) and E2 should populate B81 (pricing worksheet).

The columns in sheet1 are different than B77-B81 because I combined the OT rate and Holiday rate since they are equal to each other.
 
Upvote 0

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Okay, if you cannot update the row lables in 68,69,70, then the lookup formula will be subject to corruption if you delete or insert rows in that worksheet .
And I missed the Bill Rate mapping, thanks.
I don't see where you have Double Holiday mapped?
So, just to get is confirmed:
5%PAY RATEREGULAR BILL RATEHOLIDAY / OT BILL RATEDOUBLE TIME / HOLIDAY OT BILL RATE
B2
part of the lookup
match to row 72.
C2
Bill Rate
on Row 77
D2
Overtime Rate
on Row 79
E2
Holiday Overtime Rate
on Row B81



 
Upvote 0
Okay, if you cannot update the row lables in 68,69,70, then the lookup formula will be subject to corruption if you delete or insert rows in that worksheet .
And I missed the Bill Rate mapping, thanks.
I don't see where you have Double Holiday mapped?
So, just to get is confirmed:
5%PAY RATEREGULAR BILL RATEHOLIDAY / OT BILL RATEDOUBLE TIME / HOLIDAY OT BILL RATE
B2
part of the lookup
match to row 72.
C2
Bill Rate
on Row 77
D2
Overtime Rate
on Row 79
E2
Holiday Overtime Rate
on Row B81


The pricing worksheet will never be changed, so that's okay.

Double holiday is combined in sheet1 D2. It includes holiday and regular OT rate. Since it's the same amount, I didn't create another column to separate them.

Everything looks correct on your example, but just confirming 5% is A1 and not B2.
 
Upvote 0
The pricing worksheet will never be changed, so that's okay.

Double holiday is combined in sheet1 D2. It includes holiday and regular OT rate. Since it's the same amount, I didn't create another column to separate them.

Everything looks correct on your example, but just confirming 5% is A1 and not B2.


I'd like to be able to type in any pay rate in cell B2 and it populate the rest, if that's possible?
 
Upvote 0
yes, the 5% is A1, my error. And in your Sheet1, there is no calcuation in column F, then?
 
Upvote 0
okay, the Orange cells you input, the green cells are calculated. you can just use row 2, or use all rows to have a list (just drag formula down).

Book1
ABCDE
10.05PAY RATEREGULAR BILL RATE HOLIDAY / OT BILL RATE DOUBLE TIME / HOLIDAY OT BILL RATE
2$20.0033.6045.2556.90
3$21.0034.8447.5159.75
4$22.0036.0849.8962.74
5$23.00
Sheet1
Cell Formulas
RangeFormula
C2:C4C2=SUM((--($A$1='Pricing Worksheet'!$B$72:$J$72))*(--(B2='Pricing Worksheet'!$B$1:$J$1)*'Pricing Worksheet'!$B$77:$J$77))
D2:D4D2=SUM((--($A$1='Pricing Worksheet'!$B$72:$J$72))*(--(B2='Pricing Worksheet'!$B$1:$J$1)*'Pricing Worksheet'!$B$79:$J$79))
E2:E4E2=SUM((--($A$1='Pricing Worksheet'!$B$72:$J$72))*(--(B2='Pricing Worksheet'!$B$1:$J$1)*'Pricing Worksheet'!$B$81:$J$81))



here is the pricing worksheet i used:
Book1
ABCDEFGHIJK
1Base Pay (Hourly)202122202122202122
2
72Profit Margin5%5%5%6%6%6%7%7%7%
73
77Bill Rate33.634.8436.0833.634.8436.0833.634.8436.08
78
79Overtime Rate 45.2547.5149.8945.2547.5149.8945.2547.5149.89
80Holiday Rate45.2547.5149.8945.2547.5149.8945.2547.5149.89
81Holiday Overtime Rate56.9059.7562.7456.9059.7562.7456.9059.7562.74
82
Pricing Worksheet
 
Upvote 0
I had to mock up the last 6 columns of the rate sheet, so I may not have good values there, and it doesn't really test out 6% or 7 % profit margins. But, I think it works.
 
Upvote 0
And if your pricing worksheet will not change in structure, you may want to consider using range names to make the formulas more understandable. If you want information on that just ask.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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