I'm having trouble with a simple formula in Excel. Here is the gist of it:
Lets say G12 is 780.99
I want to divide that by 3 which gives me 260.33.
I then want to take that number (260.33) and subtract it from G12 which would give me 520.66 (need this to be postive yet my formula causes it to compute in the wrong order.)
and then divide that by 3 which would output my final total of 173.55.
Easy enough to do using a calclator but I can't for the life of me make it work in Excel.
Here is an example of what I have tried:
=(G12/3) - G12/3
Using =(G12/3) - G12 I get -520.66 but when I put the divide by 3, I get 0. Is this because excel doesn't divide negative numbers? How can I make the -520.66 a postive number if that is the issue? Even if it's not I still need it to be a postive number.
Any suggestions?
Thanks
Try:
=(G12-(G12/3))/3
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Specific to Excel, see Help for About calculation operators, and then scroll down to Operator precedence
Or =2*G12/9=(G12-(G12/3))/3
Last edited by shg; 12-16-2010 at 10:59 AM.
Microsoft MVP - Excel
Entia non sunt multiplicanda sine necessitate
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks