• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

finding cell address

Dokat

Member
Hi,

I am trying to write a formula for dynamic range where i know the the last cell address ($A$104) and need to find cell 52 rows before the last...Basically formula that will give me $A$52

Is this possible?

Thanks
 
Tried this "OFFSET(ADDRESS(ROW(rng)+ROWS(rng)-1,COLUMN(rng)+COLUMNS(rng)-1),-52,0,1,1)" but it doesnt let me use address function.

Thanks
 
Hi ,

The ADDRESS function can be replaced by the CELL function to get a shorter formula :

="A" & OFFSET(INDIRECT(CELL("address" , INDEX(rng , ROWS(rng)))) , -52 ,)

will return the same result as your formula ; the INDEX function using the ROWS function accesses the last cell of the range rng ; the CELL function returns the address without having to use the ROW parameter and the COLUMN parameter separately.

Narayan
 
Back
Top