Formula help needed

mplees

Active Member
Joined
Feb 6, 2006
Messages
351
Hello all,

Its been over 3 years since I last did anything Excel related, so would really appreciate some help with constructing a formula.

The formula I currently have is:

=IF(C2="","",ROUNDUP(E2+(E2*65%),1))

Cell C2 contains a product description and cell E2 the buying price for the product. While the roundup part of the formula works fine, I would like to refine it so that if the rounded price is above £x.50 (£1.60, £6.70 etc), the result would be increased to the next whole £ (so in the examples they would round up to £2.00, £7.00, etc); if the rounded price is below £x.50 but above £x.20 then it would increase the value to £x.50, and finally in the remaining case round down to the whole £.

Hope that someone can both understand what I am asking, & point me in the right direction!

regards

Mark
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Kind of ugly, but it seems to work!!
Code:
=IF(C2="","",IF(MOD(E2*1.65,1)<0.2,FLOOR(E2*1.65,1),IF(MOD(E2*1.65,1)<0.5,CEILING(E2*1.65,0.5),CEILING(E2*1.65,1))))
lenze
 
Upvote 0
Gentlemen,

Thank you so much for your assistance - it is greatly appreciated!

Regards

Mark
 
Upvote 0

Forum statistics

Threads
1,215,039
Messages
6,122,799
Members
449,095
Latest member
m_smith_solihull

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