![]() |
Autofill Dynamic Range
I'm creating a Unique filter of users starting from I11. This list
can be from 1-20. In J11, I'm creating a average time spent for each user. How do I create an autofill range that only fills as long as the Unique filter range? I know I could use Range("J11:J" & counta(I11:I30).FillDown, but that's not working. How do I tell it to start in cell j11 and count down the number of cells filled in range I11:I30? Thank you in advance for any help. Brendon |
Autofill Dynamic Range
Maybe...
Range("J11:J" & (11 + counta(I11:I30) - 1) If there's nothing else in column J, I like to use: dim myRng as range set myrng = .range("J11:J" & .cells(.rows.count,"I").end(xlup).row) Fester wrote: I'm creating a Unique filter of users starting from I11. This list can be from 1-20. In J11, I'm creating a average time spent for each user. How do I create an autofill range that only fills as long as the Unique filter range? I know I could use Range("J11:J" & counta(I11:I30).FillDown, but that's not working. How do I tell it to start in cell j11 and count down the number of cells filled in range I11:I30? Thank you in advance for any help. Brendon -- Dave Peterson |
All times are GMT +1. The time now is 09:33 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com