+ Reply to Thread
Results 1 to 5 of 5

Sum Absolute values

Hybrid View

Togaman7 Sum Absolute values 05-12-2015, 02:12 PM
Ron Coderre Re: Sum Absolute values 05-12-2015, 02:32 PM
Togaman7 Re: Sum Absolute values 05-12-2015, 03:03 PM
nigelbloomy Re: Sum Absolute values 05-12-2015, 04:20 PM
nigelbloomy Re: Sum Absolute values 05-12-2015, 02:35 PM
  1. #1
    Registered User
    Join Date
    05-09-2012
    Location
    Fort Lauderale
    MS-Off Ver
    Excel 2003
    Posts
    8

    Sum Absolute values

    Is there a way to get an absolute value for the sum of 1 column that has both positive and negative numbers?

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Sum Absolute values

    Your question can be interpreted more than one way.

    With pos/neg values in A2:A10

    This formula converts each to positive...then sums them
    =SUMPRODUCT(ABS(A2:A10))
    This formula sums the values...then returns the absolute value of the sum
    =ABS(SUM(A2:A10))
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    05-09-2012
    Location
    Fort Lauderale
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Sum Absolute values

    Thanks Ron. It was the first option I was looking for. Much appreciated.

  4. #4
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Sum Absolute values

    I agree. Thank you Ron for that first option. I didn't know you could use Sumproduct that way. You have saved me from making unnecessary extra columns in the future.

  5. #5
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Sum Absolute values

    =ABS(SUM(A1:A50)) will give you an absolute value. I put in 1 and -5 and it will give me 4 even though the sum is really -4.

    If you want the absolute value of each individual number then you will probably have to make another column and do =ABS(A1) and drag it down the whole column and then sum that.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Absolute values
    By ElZorro in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 05-06-2009, 10:24 AM
  2. sum of absolute values
    By pete_22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-21-2007, 08:00 PM
  3. [SOLVED] Absolute Values
    By Bernie Deitrick in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 12:05 PM
  4. Absolute Values
    By Bernie Deitrick in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 07:05 AM
  5. Absolute Values
    By Bernie Deitrick in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1