Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 121
Default sum of absolute value of each cell of a column..

hi all !!
i try in workbook function, and i try in vbe but i can't do it by myself...

i need the sum of the absolute value of each cell in range L2:L6..
if you can do it in workbook function ,please add a INDIRECT in your
fornula, because it is a range that has occasional shift.
txx !!
paolo
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default sum of absolute value of each cell of a column..

Is this what you want
=SUMPRODUCT((ABS(B3:B9)))

where e8 has b3:b9
=SUMPRODUCT((ABS(INDIRECT(E8))))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"pls123" wrote in message
...
hi all !!
i try in workbook function, and i try in vbe but i can't do it by
myself...

i need the sum of the absolute value of each cell in range L2:L6..
if you can do it in workbook function ,please add a INDIRECT in your
fornula, because it is a range that has occasional shift.
txx !!
paolo


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 121
Default sum of absolute value of each cell of a column..

tx don i found it..
=SUMPRODUCT(ABS(INDIRECT("A1:A9")))

sumproduct was what i missed !!!
good holiday !!




"Don Guillett" wrote:

Is this what you want
=SUMPRODUCT((ABS(B3:B9)))

where e8 has b3:b9
=SUMPRODUCT((ABS(INDIRECT(E8))))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"pls123" wrote in message
...
hi all !!
i try in workbook function, and i try in vbe but i can't do it by
myself...

i need the sum of the absolute value of each cell in range L2:L6..
if you can do it in workbook function ,please add a INDIRECT in your
fornula, because it is a range that has occasional shift.
txx !!
paolo



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default sum of absolute value of each cell of a column..

Why are you using the Volatile INDIRECT function in that formula? This
formula will do the same thing...

=SUMPRODUCT(ABS(A1:A9))

--
Rick (MVP - Excel)


"pls123" wrote in message
...
tx don i found it..
=SUMPRODUCT(ABS(INDIRECT("A1:A9")))

sumproduct was what i missed !!!
good holiday !!




"Don Guillett" wrote:

Is this what you want
=SUMPRODUCT((ABS(B3:B9)))

where e8 has b3:b9
=SUMPRODUCT((ABS(INDIRECT(E8))))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"pls123" wrote in message
...
hi all !!
i try in workbook function, and i try in vbe but i can't do it by
myself...

i need the sum of the absolute value of each cell in range L2:L6..
if you can do it in workbook function ,please add a INDIRECT in your
fornula, because it is a range that has occasional shift.
txx !!
paolo




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 121
Default sum of absolute value of each cell of a column..

hi rick !!
the indicated range has cells that are subject to a
insert shift xldown in the vbe..
so i need to use INDIRECT for avoiding the references to switch..

i did not try for SUMPRODUCT but i think it works the same way..

by !!




"Rick Rothstein" wrote:

Why are you using the Volatile INDIRECT function in that formula? This
formula will do the same thing...

=SUMPRODUCT(ABS(A1:A9))

--
Rick (MVP - Excel)


"pls123" wrote in message
...
tx don i found it..
=SUMPRODUCT(ABS(INDIRECT("A1:A9")))

sumproduct was what i missed !!!
good holiday !!




"Don Guillett" wrote:

Is this what you want
=SUMPRODUCT((ABS(B3:B9)))

where e8 has b3:b9
=SUMPRODUCT((ABS(INDIRECT(E8))))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"pls123" wrote in message
...
hi all !!
i try in workbook function, and i try in vbe but i can't do it by
myself...

i need the sum of the absolute value of each cell in range L2:L6..
if you can do it in workbook function ,please add a INDIRECT in your
fornula, because it is a range that has occasional shift.
txx !!
paolo




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
Absolute cell reference will not remain absolute. Mike K Excel Worksheet Functions 1 October 8th 08 07:12 PM
When I make a row absolute, but column relative, the column stays. tonefbr Excel Discussion (Misc queries) 3 October 9th 07 11:17 PM
CAN A HYPERLINK HAVE AN ABSOLUTE COLUMN & RELATIVE CELL REFERENCE. june.sidwell Excel Worksheet Functions 1 December 27th 06 08:54 PM
How can I do an Absolute Cell Reference but non Absolute Cell Pais John Excel Programming 1 July 22nd 05 07:28 PM
How can I do an Absolute Cell Reference but non Absolute Cell Pais John Excel Programming 0 July 22nd 05 06:23 PM


All times are GMT +1. The time now is 09:09 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"