Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I want to find the sum of a column, where the sum of the column adds the absolute value of each cell. For example: F1 = 10 F2 = -10 F3 = -5 So when I want to put in the equation in say F4, the answer would be 25 and not -5 How do I do this for a whole column? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=SUMPRODUCT(SIGN(F1:F3), F1:F3)
-- Rob van Gelder - http://www.vangelder.co.nz/excel "Jon B." <Jon wrote in message ... Hello, I want to find the sum of a column, where the sum of the column adds the absolute value of each cell. For example: F1 = 10 F2 = -10 F3 = -5 So when I want to put in the equation in say F4, the answer would be 25 and not -5 How do I do this for a whole column? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=SUM(ABS(A1:A1000))
which is an array formula, so commit with Ctrl-Shift-Enter -- HTH RP "Jon B." <Jon wrote in message ... Hello, I want to find the sum of a column, where the sum of the column adds the absolute value of each cell. For example: F1 = 10 F2 = -10 F3 = -5 So when I want to put in the equation in say F4, the answer would be 25 and not -5 How do I do this for a whole column? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
and just another alternative combining Rob's and Bob's solution :-) =SUMPRODUCT(ABS(A1:A10)) which does NOT need to be array entered :-) "Jon B." wrote: Hello, I want to find the sum of a column, where the sum of the column adds the absolute value of each cell. For example: F1 = 10 F2 = -10 F3 = -5 So when I want to put in the equation in say F4, the answer would be 25 and not -5 How do I do this for a whole column? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Absolute | Excel Discussion (Misc queries) | |||
Absolute cell reference will not remain absolute. | Excel Worksheet Functions | |||
Absolute $ for a number | Excel Worksheet Functions | |||
Absolute Value | Excel Worksheet Functions | |||
absolute value | Excel Worksheet Functions |