Glad it's working for you!
I'm on my way to bed, but a hint with the ROW() thing..
The ROW() function retrieves the row number of a cell, or creates an array of row numbers if given a range of cells. ROW($1:$6) refers to the range of all the cells in rows 1 to 6. It will create the array {1,2,3,4,5,6} of the corresponding row numbers -- it will not refer to the data in those rows. (I think COLUMN($A:$F) would also give you {1,2,3,4,5,6}) Then the formula does it's calculation substituting 1 for ROW(..), 2 for ROW(..), 3, 4, 5, and 6 for ROW(..)... and then takes the SUM() of those results for the final result. OK, I guess that's more than a hint
It's a neat array formula trick I just recently caught onto myself. It essentially causes your formula to do a loop, kind of like a FOR/NEXT loop in BASIC.
Asa
I'm on my way to bed, but a hint with the ROW() thing..
The ROW() function retrieves the row number of a cell, or creates an array of row numbers if given a range of cells. ROW($1:$6) refers to the range of all the cells in rows 1 to 6. It will create the array {1,2,3,4,5,6} of the corresponding row numbers -- it will not refer to the data in those rows. (I think COLUMN($A:$F) would also give you {1,2,3,4,5,6}) Then the formula does it's calculation substituting 1 for ROW(..), 2 for ROW(..), 3, 4, 5, and 6 for ROW(..)... and then takes the SUM() of those results for the final result. OK, I guess that's more than a hint
It's a neat array formula trick I just recently caught onto myself. It essentially causes your formula to do a loop, kind of like a FOR/NEXT loop in BASIC.
Asa