Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3530

Re: A simple calculation - if it were not for negative values

$
0
0

Hello Gill,

 

Could you please provide an example where ABS would get fail in your situation?

 

Also the solution I provided has handled the 0 just modifying it for the sake of null values below.

 

=If [LY]<0 Then Abs([TY]/[LY]) Else If ([LY]=0 Or IsNull([LY])) Then 0 Else ([TY]/[LY])

 

Regards

Niraj


Viewing all articles
Browse latest Browse all 3530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>