Convince Excel to Treat a - as a Minus Sign in calculations and not a Negative

I understand why Excel is doing this as per this document, but I want to change the calculation order to not be a negative as I want it treated as an operator i.e. a minus.

e.g.

2/4-3+9*6 = 51.5 according to Excel and Google treated as (2/4)-3+9*6 I think.

I however want it to calculate like this:

Division First = 2-3+9*6
Multiplication Second = 2-3+54
Subtraction Last = -55

Any way I can change this behaviour with a custom function or indeed something else?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

First, 2 divided by four is not 2. It is 0.5. Do you have this formula written correctly?

If you want the operations to occur in that fashion, utilize parentheses.

(2/4)-(3+9*6)
0
Also, as a point of clarification, the link your provided is not specific to Excel. In math, the order of operations is always handled using the PEDMAS rule: Parenthesis, Exponents, Division/Multiplication, Addition/Subtraction.
0
DirectorAuthor Commented:
Sorry my mistake:

Division First = 0.5-3+9*6
Multiplication Second = 0.5-3+54
Subtraction Last = -56.5

Yes I could be using brackets but I was hoping not to have to. Perhaps it is easier to show you the spreadsheet. Macros are in there for the custom formula.problem.xlsm
0
DirectorAuthor Commented:
Sorry Shaun, I replied to your first comment and then saw the second. Yes I know it is following BODMAS (as we called it in my school days) but it is the minus sign that is being handled against my wishes and interpreted as a negative number i.e. negative 3 (0-3) not x-3=y.
0
It may not be doing what you want, but it is doing what it is supposed to, as written. Another way of writing that formula, per math rules, would be:

((2/4) - 3) + (9 * 6)

If you want both the 3 and 9 * 6 subtracted from the first part, you would either need to use brackets or distribute the minus sign:

2/4 - (3 + (9 * 6))   or (2/4) - 3 - (9 * 6)
0

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.