+ Reply to Thread
Results 1 to 4 of 4

Thread: Formula change to gather the Absolute ABS sum instead of the net

  1. #1
    Valued Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    270

    Formula change to gather the Absolute ABS sum instead of the net

    I am using the following forumla, it gathers the net sum of a column of $ amounts.

    I need to have it changed to gather the Absolute ABS total instead.

    =SUMIFS($B$23:$B$500,$A$23:$A$500,">="&$V23,$A$23:$A$500,"<"&EDATE($V23,1))

    V23 has a date "Month" value.

    thanks for any help.

    Nick
    Last edited by avidcat; 01-17-2010 at 07:27 AM.

  2. #2
    Forum Guru
    Join Date
    10-28-2008
    Location
    Not here anymore
    MS-Off Ver
    irrelevant
    Posts
    10,151

    Re: Formula change to gather the Absolute ABS sum instead of the net

    Not sure what you mean with "ABS" but somehow I think you may not be referring to the ABS() function, right?

    Your formula sums the values in column B if they meet the specified conditions. If column B holds your "net" values, and you want to sum your "ABS" values instead, just replace the reference to column B with a reference to the column that holds the "ABS" values.

  3. #3
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: Formula change to gather the Absolute ABS sum instead of the net

    If you don't have a column of ABS values (worth adding) then you would need to revert to SUMPRODUCT (less efficient)

    =SUMPRODUCT(--($A$23:$A$500>=$V23),--($A$23:$A$500<EDATE($V23,1)),ABS($B$23:$B$500))
    the above would generate an error should any value in the summation range contain non-numerics (ABS will coerce) - if that's an issue then you would be best served reverting to a SUM based Array.

  4. #4
    Valued Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    270

    Re: Formula change to gather the Absolute ABS sum instead of the net

    Thanks to both of you, I actually took your advice and created a hidden helper column and placed the absolute values there and grabbed the totals from that.

    I appreciate your help.

    thanks,
    Nick

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0