condense formula that sums 4 adjacent columns
MATCH returns 1 if it finds a match in the first cell of the array, so
if we used
...OFFSET(OFA!$DM4, 1...
it would start with DM5.
An alternative would be:
=SUM(OFFSET(OFA!$DM4,MATCH(A2,OFA!$D$4:$D$6000,FAL SE) - 1,,,4))
In article ,
SteveC wrote:
I don't understand though why the you are replacing the DM4 and DM3 though.
Would have thought DM4 would have stayed DM4. If you have time, can you
explain how that works? I need to understand OFFSET better... thanks very
much for your help. SteveC
"JE McGimpsey" wrote:
One way:
=SUM(OFFSET(OFA!$DM3,MATCH(A2,OFA!$D$4:$D$6000,FAL SE),,,4))
|