Forum Discussion
McBee83
Aug 29, 2019Copper Contributor
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...
- Aug 29, 2019
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))
tauqeeracma
Aug 29, 2019Steel 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.
- McBee83Aug 29, 2019Copper 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_sktneerAug 29, 2019Silver 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))
- McBee83Aug 29, 2019Copper ContributorYou sir are a genius, thank you so much. That worked a treat!