vijay.vizzu
Member
Dear All Excel users,
I am going to create a dynamic range by offset function in my sheet. but while defining a range, i observed that, when i reopen the file, the range in offset will change automatically. I am just confused, but finally i realised that i didn't put range as an absolute reference, then i put $ in the range to make it as absolute reference. Now i want to know that in my formula [=OFFSET($P$1,0,0,COUNTA(P),1)]i am putting offset on P column and for dynamic i am using COUNTA function to adjust range itself. but after reopen the file the offset formula will look like this [=OFFSET($P$1,0,0,COUNTA(Q:Q),1)] i get confused and put it $ in the range like =OFFSET($P$1,0,0,COUNTA($P:$P),1) now it works fine. Can you tell me why this happend means range changes automatically if we didn't use $.
I have created three dynamic ranges like
=OFFSET('04X-SOUTH'!$P$10,0,0,COUNTA('04X-SOUTH'!$P:$P),1) Range name as Need.
=OFFSET('04X-SOUTH'!$Q$10,0,0,COUNTA('04X-SOUTH'!$Q:$Q),1) Range name as PIC.
=OFFSET('04X-SOUTH'!$R$10,0,0,COUNTA('04X-SOUTH'!$R:$R),1) Range name as Vendor.
Above two formulas working fine and adjust the ranges itself if any data entered, but third one taking one cell (Last cell) extra in the range. Can you clarify why this is happening.
Thanks
Vijay
I am going to create a dynamic range by offset function in my sheet. but while defining a range, i observed that, when i reopen the file, the range in offset will change automatically. I am just confused, but finally i realised that i didn't put range as an absolute reference, then i put $ in the range to make it as absolute reference. Now i want to know that in my formula [=OFFSET($P$1,0,0,COUNTA(P),1)]i am putting offset on P column and for dynamic i am using COUNTA function to adjust range itself. but after reopen the file the offset formula will look like this [=OFFSET($P$1,0,0,COUNTA(Q:Q),1)] i get confused and put it $ in the range like =OFFSET($P$1,0,0,COUNTA($P:$P),1) now it works fine. Can you tell me why this happend means range changes automatically if we didn't use $.
I have created three dynamic ranges like
=OFFSET('04X-SOUTH'!$P$10,0,0,COUNTA('04X-SOUTH'!$P:$P),1) Range name as Need.
=OFFSET('04X-SOUTH'!$Q$10,0,0,COUNTA('04X-SOUTH'!$Q:$Q),1) Range name as PIC.
=OFFSET('04X-SOUTH'!$R$10,0,0,COUNTA('04X-SOUTH'!$R:$R),1) Range name as Vendor.
Above two formulas working fine and adjust the ranges itself if any data entered, but third one taking one cell (Last cell) extra in the range. Can you clarify why this is happening.
Thanks
Vijay