sea_captain
New Member
- Joined
- Jan 10, 2017
- Messages
- 11
I have some financial files that compare Actual vs Budget and a delta between the two for $ and % (4 columns) that is shared with my company
Sometimes the Delta $ and % have differing symbols (positive/negative). That seems to annoy some of the audience. (There are a lot of rows/columns and slides)
I am trying to place a formula in the Delta % that will calculate based on the whether the Delta $ is + or -. The goal is to have the deltas match $+/+% or $-/-%.
For example: The Delta $ formula is A-B=C / Delta % formula is C div/ B = D
(Col. A) Jan Act is $10 / (Col. B) Jan Bud is $8. (Col. C) Delta $ is +$2. (Col. D) Delta % is 25%
(Col. A) Jan Act is $10 / (Col. B) Jan Bud is -$8. (Col. C) Delta $ is +$18. (Col. D) Delta % is -225% (this is the scenario we are trying to avoid)
That i can think of, there are 4 potential scenarios (i'm only showing 2 examples above)
Since Column D (the goal) is based on Column C div by B, the 4 scenarios are: 1. C is +/D is -, 2. C is +/D is +, 3. C is -/D is +, 4. C is -/D is -.
I need help with the formula i'm trying to create (unsuccessfully - works but not in all scenarios), not even sure if it is right. It looks like this (below) (B=Budget / C=Delta $):
=IFERROR(IF(OR(B1>0,C1<0),C1/B1,OR(B1>0,C1>0,C1/B1,OR(B1<0,C1<0),-C1/B1,OR(B1<0,C1>0,-C1/D1))),0)
If you know an easier formula, i'm all ears.
No SQL/coding etc.
Thanks.
Sometimes the Delta $ and % have differing symbols (positive/negative). That seems to annoy some of the audience. (There are a lot of rows/columns and slides)
I am trying to place a formula in the Delta % that will calculate based on the whether the Delta $ is + or -. The goal is to have the deltas match $+/+% or $-/-%.
For example: The Delta $ formula is A-B=C / Delta % formula is C div/ B = D
(Col. A) Jan Act is $10 / (Col. B) Jan Bud is $8. (Col. C) Delta $ is +$2. (Col. D) Delta % is 25%
(Col. A) Jan Act is $10 / (Col. B) Jan Bud is -$8. (Col. C) Delta $ is +$18. (Col. D) Delta % is -225% (this is the scenario we are trying to avoid)
That i can think of, there are 4 potential scenarios (i'm only showing 2 examples above)
Since Column D (the goal) is based on Column C div by B, the 4 scenarios are: 1. C is +/D is -, 2. C is +/D is +, 3. C is -/D is +, 4. C is -/D is -.
I need help with the formula i'm trying to create (unsuccessfully - works but not in all scenarios), not even sure if it is right. It looks like this (below) (B=Budget / C=Delta $):
=IFERROR(IF(OR(B1>0,C1<0),C1/B1,OR(B1>0,C1>0,C1/B1,OR(B1<0,C1<0),-C1/B1,OR(B1<0,C1>0,-C1/D1))),0)
If you know an easier formula, i'm all ears.
No SQL/coding etc.
Thanks.