• 503K Members
• 7,084 Online
• 601K Conversations
SOLVED

Excell formula help

Occasional 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 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

4 Replies

Re: Excell formula help

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.

Re: Excell formula help

It works for the multiples of 100 but if the value is £44 it gives a completed formula value of £88 not £89?

Solution

Re: Excell formula help

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))

Re: Excell formula help

You sir are a genius, thank you so much. That worked a treat!
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
50 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
32 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
15 Replies
Dev channel update to 80.0.355.1 is live
josh_bodner in Discussions on
67 Replies