Formulate a markup dependent on cell value?

bullethvac

New Member
Joined
Jan 10, 2023
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hi,
I need help with a formula if possible. I have a spreadsheet that I use to price products for construction bidding purposes. My parts have different markups dependent on their cost. Is there a formula that can automatically change the markup calculation based on the ranges of the cost?

example: if I were to enter $30.00 in C3, I would want C5 to show a markup of 3.5 and C7 to show the sell price of $105.00
if I were to enter $255.00 in C3, I would want C5 to show a markup of 2.0 and C7 to show the sell price of $510.00
etc.

Thank you in advance!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
I failed to mention, the markups run like this: 0.00-99.99 = 4 - 100.00-249.99=3.5 etc.
 
Upvote 0
do you have a list of the mark values based on the cost ?
then you could use a lookup - nearest low value
 
Upvote 0
i suspect there is a simple maths way to do - but heres a lookup
not sure what etc means, for the values - but the table can be extended and the index/match range changed to suite

also change the cells so
But your 2nd post does not seem to match the first requirement

$30.00 in C3, I would want C5 to show a markup of 3.5 and C7
BUT
0.00-99.99 = 4

Book17
ABCDE
1
2504
31003.504
41503.51003.5
52003.52503
699.999994
Sheet1
Cell Formulas
RangeFormula
B2:B6B2=INDEX($E$3:$E$5,MATCH(A2,$D$3:$D$5,1))



Book17
ABCDEF
1
2
330004
41003.5
532503
6
7900
8
Sheet1
Cell Formulas
RangeFormula
C5C5=INDEX($F$3:$F$5,MATCH(C3,$E$3:$E$5,1))
C7C7=C3*C5
 
Upvote 0
yes, where would the list go?
$0-$25.00 4.0
$25.01-$50.00 3.5
$50.02-$100.00 3.0
etc

I am very elementary in my excel skills, what would be the lookup formula?
 
Upvote 0
anywhere it works on the spreadsheet - even in a different sheet to keep it out the way

Note - I edited
as didnt quite match

where can you add a table ? as shown
 
Upvote 0
2=INDEX($3:$E$5,MATCH(A2,$D$3:$D

1673378693771.png

This is the sheet I am working on. I can put the table on worksheet 2, but I am not sure how to get the cell with the INDEX formula to look on sheet 2 for the values. I appreciate your help, sorry I am not fluent with excel!
 
Upvote 0
I was able to get your formula and table working as it should on my sheet. It took changing the referenced cells etc. to get it going (of course). I am unsure of how to put that table on worksheet 2 and have that formula reference it correctly.
 
Upvote 0
how about
Book17
ABCD
1
2
3300
4
53
6
7900
8
Sheet1
Cell Formulas
RangeFormula
C5C5=INDEX(Sheet2!$B$2:$B$10,MATCH(C3,Sheet2!$A$2:$A$10,1))
C7C7=C3*C5


Book17
AB
1AmountRate
2254
3503.5
41003
Sheet2


on dropbox - BUT only for a few days, then i delete off
 
Upvote 0
Solution
Thank you! It works great and the table is hidden. After having to read through your formula and figure out where it was pointing and why, I fully understand how it works!
 
Upvote 0

Forum statistics

Threads
1,224,798
Messages
6,181,038
Members
453,014
Latest member
Chris258

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