PC Review


Reply
Thread Tools Rate Thread

Absolute value

 
 
Seeker
Guest
Posts: n/a
 
      28th Nov 2009
Hi experts,
I have subtotal values on group and they are mixed of positive and negative
figures, I need to sum up those figures no matter weather they are positive
or negative ‘=sum(abs(subtotal)). I tried subtotals function and pivot table
but have no idea how to turn those values into absolute one. In pivot table,
calculated filed added and sum showing positive figures by using if (xx<0,
xx*-1,xx) but total sum and grand total still picking the negative figures.
Is it possible to solve this problem without adding additional formula in
next column ??
Regards

 
Reply With Quote
 
 
 
 
Rick Rothstein
Guest
Posts: n/a
 
      28th Nov 2009
How about this array-entered** formula (change the range to suit your
needs)...

=SUM(ABS(A1:A100))

**Commit this formula using Ctrl+Shift+Enter, not just Enter by itself.

--
Rick (MVP - Excel)


"Seeker" <(E-Mail Removed)> wrote in message
news:44464A35-6A74-48F4-9E32-(E-Mail Removed)...
> Hi experts,
> I have subtotal values on group and they are mixed of positive and
> negative
> figures, I need to sum up those figures no matter weather they are
> positive
> or negative ‘=sum(abs(subtotal)). I tried subtotals function and pivot
> table
> but have no idea how to turn those values into absolute one. In pivot
> table,
> calculated filed added and sum showing positive figures by using if (xx<0,
> xx*-1,xx) but total sum and grand total still picking the negative
> figures.
> Is it possible to solve this problem without adding additional formula in
> next column ??
> Regards
>


 
Reply With Quote
 
Jacob Skaria
Guest
Posts: n/a
 
      28th Nov 2009
or non-array entered
=SUMPRODUCT(ABS(A1:A100))

If this post helps click Yes
---------------
Jacob Skaria


"Seeker" wrote:

> Hi experts,
> I have subtotal values on group and they are mixed of positive and negative
> figures, I need to sum up those figures no matter weather they are positive
> or negative ‘=sum(abs(subtotal)). I tried subtotals function and pivot table
> but have no idea how to turn those values into absolute one. In pivot table,
> calculated filed added and sum showing positive figures by using if (xx<0,
> xx*-1,xx) but total sum and grand total still picking the negative figures.
> Is it possible to solve this problem without adding additional formula in
> next column ??
> Regards
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Absolute cell reference will not remain absolute. Mike K Microsoft Excel Worksheet Functions 1 8th Oct 2008 07:12 PM
How can I do an Absolute Cell Reference but non Absolute Cell Pais =?Utf-8?B?Sm9obg==?= Microsoft Excel Programming 0 22nd Jul 2005 06:23 PM
Absolute references in Conditional Formating not absolute (2003) =?Utf-8?B?QS1KQQ==?= Microsoft Excel Crashes 0 26th May 2005 12:06 AM
Absolute reference within a formula not really absolute Fred Microsoft Excel Worksheet Functions 3 1st Jul 2004 06:08 PM
Absolute absolute cell reference jon west Microsoft Excel Misc 2 9th Oct 2003 02:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:25 PM.