Morning,
I've got most of my formula working, I just can't see limit the function to the last 4 columns of the range.
I'm adding 2 new columns per day and only want the sum of the last 4 on a rolling basis. The logic is that as time goes on there should be fewer counts for PERM over the last 2 days and the counts should all go to 0.
The "Count All PERM" can easily be done with =SUMIF($L$2:$S$2,"*PERM*",$L3:$S3) but the result in Col C is what I'm after.
I've been trying COLUMNS and INDEX but they all need a specific range, and my range keeps extending every day.
I can find the number of the last column (11) by using =LOOKUP(2,1/ (1:1<>""),ROW(A:A)) but I'm not sure how to pass this to the range.
Any ideas, folks?
Thanks...Buzz
I've got most of my formula working, I just can't see limit the function to the last 4 columns of the range.
I'm adding 2 new columns per day and only want the sum of the last 4 on a rolling basis. The logic is that as time goes on there should be fewer counts for PERM over the last 2 days and the counts should all go to 0.
The "Count All PERM" can easily be done with =SUMIF($L$2:$S$2,"*PERM*",$L3:$S3) but the result in Col C is what I'm after.
I've been trying COLUMNS and INDEX but they all need a specific range, and my range keeps extending every day.
I can find the number of the last column (11) by using =LOOKUP(2,1/ (1:1<>""),ROW(A:A)) but I'm not sure how to pass this to the range.
Any ideas, folks?
Thanks...Buzz