cost mark up function?

obucdow

New Member
Joined
Nov 20, 2002
Messages
23
I need a cost mark up function to show mark up at 10% 15% and 20%, when I get my value, I need it to be rounded up the nearest cent.

any help would be greatly appreciated

Thanks
Obucdow (y)
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Let's say you have 3 fields in a query: [Cost], [MarkupPercent] and [NewCost]. [Cost] and [MarkupPercent] come from your table, the calculated field ([NewCost] or [MarkupAmt]) is part of the query.
Put your percent in the [MarkupPercent] field.
[NewCost] is a calculated field so, in first blank column in the query, put:
NewCost:Int([Cost]*(1+[MarkupPercent]))+1
If all you need is the Markup amount, do this --
MarkupAmt:Int([Cost]*[MarkupPercent])+1

Int takes only the integer portion of the number, effectively rounding down. Add 1 to round up.

Denis
 
Upvote 0
Hi, following up on the suggestion from Denis, if your cost data is already formatted with dollars and cents, try this formula to round up to the next whole cent :

Int((100*[Cost]*(1+[MarkUpPercent]))+0.99)/100

If you literally want to round the cost up by 10%, 15% and 20%, then use these 3 formulae :

Int((100*[Cost]*1.1)+0.99)/100
Int((100*[Cost]*1.15)+0.99)/100
Int((100*[Cost]*1.2)+0.99)/100

HTH, Andrew.
 
Upvote 0

Forum statistics

Threads
1,221,814
Messages
6,162,132
Members
451,743
Latest member
matt3388

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