ABS or IF statement

darrenciccone

Board Regular
Joined
Sep 27, 2007
Messages
72
or maybe both?

I have hyperion linked data and i am doing % increase/decrease and when I have 0 sales units for 08 and 0 sales units for 09 im getting a -100% what I would like is to limit my downside variance to -100% and have the +variance unlimited; I have tried various min/max formulas to no avail; any help is greatly appreciated the last formula I tried to use from a suggestion on this board was:

=IF(AND(AT12=0,AS12=0),0,MIN((AS12/MAX(AT12,1))-1,1))

but it still gave -100% when 0 and 0 was picked up; could it be something to do with hyperion linked cells??? thanks for any help!
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
I can't replicate this.

Are you SURE that AT12 and AS12 BOTH contain zero ?

Or is it possible that one of them perhaps contains something like 0.000001 ?
 
Upvote 0

Forum statistics

Threads
1,215,767
Messages
6,126,767
Members
449,336
Latest member
p17tootie

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top