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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|