I need to generate a formula on the fly based on thelast entry in the worksheet. I have the last row number thanks to a posting byPeter_SSs; =MATCH(TRUE,INDEX(A2:A3200="",0),0). I found in reading olderpost. Thanks Peter.
This last row number is in H1, the array of datais B2:Fnnn last row number in H1 value is 692 on this run. This number will changeeach time the data is accumulated. This data is exported from another system ina CSV file format which is brought into this worksheet.
The formula is =COUNTIF($B$2:$F$692,"="&$K1)in Column M.
My question: is there a way to use some functionto have the F$nnn to change as H1 is updated without having to do a FIND andREPLACE on column M each run.
Thanks
Walter
This last row number is in H1, the array of datais B2:Fnnn last row number in H1 value is 692 on this run. This number will changeeach time the data is accumulated. This data is exported from another system ina CSV file format which is brought into this worksheet.
The formula is =COUNTIF($B$2:$F$692,"="&$K1)in Column M.
My question: is there a way to use some functionto have the F$nnn to change as H1 is updated without having to do a FIND andREPLACE on column M each run.
Thanks
Walter