Home |
Search |
Today's Posts |
#4
![]() |
|||
|
|||
![]()
Hi Maarten,
Enter the UDF (user defined function) Option Explicit Function sumabsdiff(r1 As Range, r2 As Range) As Double Dim i As Long i = 1 Do While Not IsEmpty(r1.Value2(1, i)) sumabsdiff = sumabsdiff + Abs(r1.Value2(1, i) - r2.Value2(1, i)) i = i + 1 Loop End Function (push ALT + F11, insert a module and then paste the code) Put ones into cells A513, B514, C515, etc. Enter =sumabsdiff(OFFSET($A$1,COLUMN()-1,0,1,256),OFFSET($A$1,ROW()-513,0,1,256)) into cells A514, A515:B515, A516:C516, ... HTH, Bernd |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to identify entries in a matrix also present in another list | Excel Worksheet Functions | |||
Calculation Setting in Excel | Excel Discussion (Misc queries) | |||
Recreate the upper part of a symetric data matrix 75x75 | Excel Discussion (Misc queries) | |||
How do I use a rounded calculation result in another calculation? | Excel Worksheet Functions | |||
How do I use a rounded calculation result in another calculation? | Excel Worksheet Functions |