Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 57
Default {=SUM(ABS($Q$5:$Q$651))}

I am looking at spreadsheets someone else built and seeing cells with
formulae like what's shown in subject.

I can see what it is supposed to do which is to sum the absolute value of
each cell referenced, which is something I want to duplicate elsewhere.

However, when I try to put that formula in the cell, it gives me #value! So
I'm just wondering how exactly was this done. I suppose the curly brackets
mean something but I don't know what.

Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default {=SUM(ABS($Q$5:$Q$651))}

It's an array formula. You don't type in the brackets. When your cursor is
in the formula bar, press Ctrl+Shift+Enter.

Regards,
Paul

--

"rockhammer" wrote in message
...
I am looking at spreadsheets someone else built and seeing cells with
formulae like what's shown in subject.

I can see what it is supposed to do which is to sum the absolute value of
each cell referenced, which is something I want to duplicate elsewhere.

However, when I try to put that formula in the cell, it gives me #value!
So
I'm just wondering how exactly was this done. I suppose the curly brackets
mean something but I don't know what.

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default {=SUM(ABS($Q$5:$Q$651))}

Try it like this and then you don't have to worry about the brackets:

=SUMPRODUCT(ABS($Q$5:$Q$651))

About the brackets....

The brackets mean this is an array formula. Array formulas are entered
differently than a regular formula. After you type in a regular formula you
hit the ENTER key. With an array formula you *must* use a combination of
keys. Those keys are the CTRL key, the SHIFT key and the ENTER key. That is,
hold down both the CTRL key and the SHIFT key then hit the ENTER key.

When done properly Excel will enclose the formulas in the brackets. You
can't just type these brackets in, you *must* use the key combo. Also,
anytime you edit an array formula it *must* be re-entered as an array using
the key combo.

--
Biff
Microsoft Excel MVP


"rockhammer" wrote in message
...
I am looking at spreadsheets someone else built and seeing cells with
formulae like what's shown in subject.

I can see what it is supposed to do which is to sum the absolute value of
each cell referenced, which is something I want to duplicate elsewhere.

However, when I try to put that formula in the cell, it gives me #value!
So
I'm just wondering how exactly was this done. I suppose the curly brackets
mean something but I don't know what.

Thanks.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 57
Default {=SUM(ABS($Q$5:$Q$651))}

Thanks, Paul. It works now.


"PCLIVE" wrote:

It's an array formula. You don't type in the brackets. When your cursor is
in the formula bar, press Ctrl+Shift+Enter.

Regards,
Paul

--

"rockhammer" wrote in message
...
I am looking at spreadsheets someone else built and seeing cells with
formulae like what's shown in subject.

I can see what it is supposed to do which is to sum the absolute value of
each cell referenced, which is something I want to duplicate elsewhere.

However, when I try to put that formula in the cell, it gives me #value!
So
I'm just wondering how exactly was this done. I suppose the curly brackets
mean something but I don't know what.

Thanks.




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



All times are GMT +1. The time now is 08:58 PM.

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

About Us

"It's about Microsoft Excel"