Forum Discussion
Excell formula help
Hi all,
I would like excell to complete a formula for pricing goods.
Could someone kindly advise if the following is possible in one cell's formula or would it need to be over several cells and how best to acheive it.
value of a cell *2, then round up to nearest 9, but if value = multiple of 100 then -1 instead
for example
cost price is £44.00 formula value should equal £89.00
or
cost price is £100.00 formula value should equal £99.00
Any help greatly received
Replace your existing formula with the following one and let me know if that works for both the scenarios....
=IF(MOD(100,E5)>1,ROUNDUP(E5*2,-1)-1,(E5-1))
4 Replies
- tauqeeracmaSteel Contributor
Hi McBee83
Please use below formula
=IF(MOD(100,E5)>1,ROUND((E5*2),9),(E5-1))
Sample file is also attached for your reference.
Let me know if it works for you or otherwise.
- McBee83Copper Contributor
Thank you for your reply.
It works for the multiples of 100 but if the value is £44 it gives a completed formula value of £88 not £89?
- Subodh_Tiwari_sktneerSilver Contributor
Replace your existing formula with the following one and let me know if that works for both the scenarios....
=IF(MOD(100,E5)>1,ROUNDUP(E5*2,-1)-1,(E5-1))