A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

ABS in SUBTOTAL



 
 
Thread Tools Display Modes
  #1  
Old April 22nd, 2010, 10:19 PM posted to microsoft.public.excel.misc
whymj
external usenet poster
 
Posts: 5
Default ABS in SUBTOTAL

How can I subtotal the Absolute Values in a column? I can SUM by
=SUM(ABS(A1:A10)) Ctrl-Shift-Enter.
I have tried =SUBTOTAL(9,(ABS(A1:A10)) with both Enter and Ctrl-Shift-Enter
with no luck.
Any suggestions?
Thanks!
  #2  
Old April 22nd, 2010, 10:27 PM posted to microsoft.public.excel.misc
Brad
external usenet poster
 
Posts: 943
Default ABS in SUBTOTAL

=SUMPRODUCT(ABS(D27))

Assuming that all the numbers needed are in cells D27
--
Wag more, bark less


"whymj" wrote:

How can I subtotal the Absolute Values in a column? I can SUM by
=SUM(ABS(A1:A10)) Ctrl-Shift-Enter.
I have tried =SUBTOTAL(9,(ABS(A1:A10)) with both Enter and Ctrl-Shift-Enter
with no luck.
Any suggestions?
Thanks!

  #3  
Old April 22nd, 2010, 10:29 PM posted to microsoft.public.excel.misc
dlw
external usenet poster
 
Posts: 1,600
Default ABS in SUBTOTAL

insert a helper column that contains the abs values and subtotal on that.

"whymj" wrote:

How can I subtotal the Absolute Values in a column? I can SUM by
=SUM(ABS(A1:A10)) Ctrl-Shift-Enter.
I have tried =SUBTOTAL(9,(ABS(A1:A10)) with both Enter and Ctrl-Shift-Enter
with no luck.
Any suggestions?
Thanks!

  #4  
Old April 23rd, 2010, 12:38 AM posted to microsoft.public.excel.misc
Teethless mama
external usenet poster
 
Posts: 3,722
Default ABS in SUBTOTAL

=SUMPRODUCT(SUBTOTAL(3,OFFSET(A2,ROW(A2:A20)-ROW(A2),0))*ABS(A2:A20))



"whymj" wrote:

How can I subtotal the Absolute Values in a column? I can SUM by
=SUM(ABS(A1:A10)) Ctrl-Shift-Enter.
I have tried =SUBTOTAL(9,(ABS(A1:A10)) with both Enter and Ctrl-Shift-Enter
with no luck.
Any suggestions?
Thanks!

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:34 PM.


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