Skip to Content
author's profile photo Former Member
Former Member


Hi all,

I have been trying to implement the SUMCT function over the absolute values of forecaste sales quantity.I have the requirement to obtain the total of absolute value.

Forecaste AbsForecaste SUMCT(Abs Forecaste)

20 20 100

-10 10 100

40 40 100

-30 30 100

above should be the output for SUMCT where as I am getting SUMCT column as 20..As it is not calculating on absolute but actual values.Is there anyway to implement this logic.

Helping approaches will be rewarded

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 22, 2008 at 09:27 AM

    create another Formula Column instead of using ABS operator use the folloiwng formula.

    (Forecast < 0) * (Forecast * (-1)) + (Forecast >=0)* (Forecast)

    Then create SUMCT on this Formula.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.