Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Using sum function with absolute numbers

I am trying to get the absolute average of a column of positive and negative
numbers, so i am trying to gather the absolute sum of the numbers using the
following:

=SUM(ABS($F3:$F216))

however it returns a number (1) that isn't the correct answer. However when
i hit the function key in the formula bar the correct answer is displayed
under the inputs.

What am I doing wrong? Please help/
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Using sum function with absolute numbers

You need to enter it with ctrl + shift & enter since it is an array formula

--


Regards,


Peo Sjoblom

"mebsmith" wrote in message
...
I am trying to get the absolute average of a column of positive and
negative
numbers, so i am trying to gather the absolute sum of the numbers using
the
following:

=SUM(ABS($F3:$F216))

however it returns a number (1) that isn't the correct answer. However
when
i hit the function key in the formula bar the correct answer is displayed
under the inputs.

What am I doing wrong? Please help/



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Using sum function with absolute numbers

On Mon, 29 Sep 2008 09:36:02 -0700, mebsmith
wrote:

I am trying to get the absolute average of a column of positive and negative
numbers, so i am trying to gather the absolute sum of the numbers using the
following:

=SUM(ABS($F3:$F216))

however it returns a number (1) that isn't the correct answer. However when
i hit the function key in the formula bar the correct answer is displayed
under the inputs.

What am I doing wrong? Please help/


The formula is an array formula. So you must hold down <ctrl<shift when you
hit <enter to enter the formula. If you do this correctly, Excel will place
braces {...} around the formula.
--ron
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Using sum function with absolute numbers

You need to commit your formula with ctrl+shift+enter to make it an array
formula
Double click the cell, then hold down shift and control keys now tap the
Enter key
best wishes

--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"mebsmith" wrote in message
...
I am trying to get the absolute average of a column of positive and
negative
numbers, so i am trying to gather the absolute sum of the numbers using
the
following:

=SUM(ABS($F3:$F216))

however it returns a number (1) that isn't the correct answer. However
when
i hit the function key in the formula bar the correct answer is displayed
under the inputs.

What am I doing wrong? Please help/



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default Using sum function with absolute numbers

Array enter the formula by holding down Ctrl & Shift while you press Enter.
This will automatically put curly braces { } around the formula and it will
then correctly calculate.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"mebsmith" wrote in message
...
I am trying to get the absolute average of a column of positive and
negative
numbers, so i am trying to gather the absolute sum of the numbers using
the
following:

=SUM(ABS($F3:$F216))

however it returns a number (1) that isn't the correct answer. However
when
i hit the function key in the formula bar the correct answer is displayed
under the inputs.

What am I doing wrong? Please help/





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Using sum function with absolute numbers


Thanks everyone



"Sandy Mann" wrote:

Array enter the formula by holding down Ctrl & Shift while you press Enter.
This will automatically put curly braces { } around the formula and it will
then correctly calculate.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"mebsmith" wrote in message
...
I am trying to get the absolute average of a column of positive and
negative
numbers, so i am trying to gather the absolute sum of the numbers using
the
following:

=SUM(ABS($F3:$F216))

however it returns a number (1) that isn't the correct answer. However
when
i hit the function key in the formula bar the correct answer is displayed
under the inputs.

What am I doing wrong? Please help/




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default Using sum function with absolute numbers

Hi,

Well, as you can see there is a common solution, but here are two others
that don't require SHIFT+CTRL+ENTER

=SUMPRODUCT(ABS($F3:$F216))

or

=SUMIF($F3:$F216,"0")-SUMIF($F3:$F216,"<0")

--
Thanks,
Shane Devenshire


"mebsmith" wrote:

I am trying to get the absolute average of a column of positive and negative
numbers, so i am trying to gather the absolute sum of the numbers using the
following:

=SUM(ABS($F3:$F216))

however it returns a number (1) that isn't the correct answer. However when
i hit the function key in the formula bar the correct answer is displayed
under the inputs.

What am I doing wrong? Please help/

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Turning forumula results as absolute numbers Edward Excel Discussion (Misc queries) 4 January 16th 08 06:22 PM
Can I change a column of calculated numbers to absolute numbers? Kate Bissell Excel Discussion (Misc queries) 3 October 25th 06 06:10 PM
How do I get the maximum absolute value of a range of numbers? biscuitsmom Excel Discussion (Misc queries) 2 January 19th 06 07:55 PM
sum absolute values of a column of numbers in Excel MRolko Excel Worksheet Functions 1 December 30th 05 03:41 PM
can excel report scientific values rather than absolute numbers? JamesB Excel Discussion (Misc queries) 2 October 13th 05 03:00 PM


All times are GMT +1. The time now is 07:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"