Mark up Formula

mbrooks1009

New Member
Joined
Feb 11, 2025
Messages
8
Office Version
  1. 365
Platform
  1. Windows
I am looking for a formula to mark up total cost. Example, cell E4 is total cost, if E4 is under $100 mark up 4%, if E4 is over $100 mark up 2%.

Appreciate the help.
 
if you want to change the value in E4 - then you need VBA
or
you if you are summing other sales
you could say

= if ( sum(other cells) <=100, Sum(other cells) *0.04 , Sum(other cells) *0.02)
 
Upvote 0
Thank you for the response. I do not want to change in the value of E4, want the new value to appear in E5. This way I can still see cost before mark up.
 
Upvote 0
Thank you for the response. I do not want to change in the value of E4, want the new value to appear in E5. This way I can still see cost before mark up.
Then you should just be able to use the structure etaf gave you to write this:
Excel Formula:
=IF(E4<100,E4*1.04,E4*1.02)
to get the final price/cost.

If you just want to see the value of the mark-up (and not the final price/cost), just use:
Excel Formula:
=IF(E4<100,E4*0.04,E4*0.02)

Note that you did not mention what should happen if E4 is exactly 100.
Based on your answer to that, the "<" may need to change to "<=".
 
Upvote 0
ok
in E5
=IF(E4="","", if ( E4 <=100, E4 *0.04 , E4*0.02))

assuming if the e4 is blank you want a blank in the cell or do you want zero
or to increase by the %
=IF(E4="","", if ( E4 <=100, E4 *1.04 , E4*1.02))
 
Upvote 0
Then you should just be able to use the structure etaf gave you to write this:
Excel Formula:
=IF(E4<100,E4*1.04,E4*1.02)
to get the final price/cost.

If you just want to see the value of the mark-up (and not the final price/cost), just use:
Excel Formula:
=IF(E4<100,E4*0.04,E4*0.02)

Note that you did not mention what should happen if E4 is exactly 100.
Based on your answer to that, the "<" may need to change to "<=".
Thank you, it works great, Still a novice, but learning.
 
Upvote 0
You are welcome.
Glad we were able to help!

Here is some good documentation on the IF function: IF function - Microsoft Support
Microsoft has this kind of documentation on all their functions, which can be found with a simple Google Search.
 
Upvote 0

Forum statistics

Threads
1,226,909
Messages
6,193,614
Members
453,810
Latest member
Gks77117

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