How to set up variable data ranges in nested functions
Trying to set up the following computation in excel.
=Sum(abs(An - Bn)+abs(An+1 - Bn+1)+...+abs(Am - Bm)) where the row range varies from n to m. |
How to set up variable data ranges in nested functions
SUMPRODUCT should provide one way, eg:
=SUMPRODUCT(ABS(A1:A100-B1:B100)) Adapt the ranges to suit .. -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Tom@AML" wrote: Trying to set up the following computation in excel. =Sum(abs(An - Bn)+abs(An+1 - Bn+1)+...+abs(Am - Bm)) where the row range varies from n to m. |
How to set up variable data ranges in nested functions
Max,
Thanks very much! Works great. Tom "Max" wrote: SUMPRODUCT should provide one way, eg: =SUMPRODUCT(ABS(A1:A100-B1:B100)) Adapt the ranges to suit .. -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Tom@AML" wrote: Trying to set up the following computation in excel. =Sum(abs(An - Bn)+abs(An+1 - Bn+1)+...+abs(Am - Bm)) where the row range varies from n to m. |
How to set up variable data ranges in nested functions
welcome, Tom. thanks for posting back.
-- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Tom@AML" wrote in message ... Max, Thanks very much! Works great. Tom |
All times are GMT +1. The time now is 05:26 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com