SeCreTEnDinG
New Member
- Joined
- Jan 6, 2014
- Messages
- 9
Hello,
I've poked around on a bunch of forums for a few days and did a lot of searching around, but most of the results I've found aren't what I'm looking for.
Attempting to take a percentage of a single positive or negative value.
The current formula that I'm using seems to work, but when testing totals at the end, there's a slight difference.
=IF(AC37>0,AC37-AC37*0.3,AC37+AC37*0.3)
Doing a test to see if the number is larger then zero, if it is, multiply the number by 0.3, then subtract the result from the original total. The second half says if it's a negative, multiply the number by 0.3, then add it.
I've been reading about ABS but might need it broken down a little. (It's pretty early and my head isn't working yet it seems.) Seems it might be a solution to shortening down the formula some.
Thanks for the hand.
I've poked around on a bunch of forums for a few days and did a lot of searching around, but most of the results I've found aren't what I'm looking for.
Attempting to take a percentage of a single positive or negative value.
The current formula that I'm using seems to work, but when testing totals at the end, there's a slight difference.
=IF(AC37>0,AC37-AC37*0.3,AC37+AC37*0.3)
Doing a test to see if the number is larger then zero, if it is, multiply the number by 0.3, then subtract the result from the original total. The second half says if it's a negative, multiply the number by 0.3, then add it.
I've been reading about ABS but might need it broken down a little. (It's pretty early and my head isn't working yet it seems.) Seems it might be a solution to shortening down the formula some.
Thanks for the hand.