excel - Absolute Row Reference -


i'm attempting create formula reference data in cells on row 5.

current formula =(offset(indirect(address(row(),column())),sum(row()-count(row())+5),mod(column()+1,-4)))

this giving me relative active cell address in worksheet

=(offset(indirect(address(row(),column())) 

this giving me column offset. data repeats in sets of 4 formula takes current column adds 1 divides four. remainder column offset use.

mod(column()+1,-4))) 

the section i'm having problem on row reference formula. data need in row 5 attempting use code below find current row subtract row count , add 5 land in row five. code evaluating 1 either i'm overlooking or not work.

any great.

sum(row()-count(row())+5) 

example. if active cell c17 want subtract 17 , add 5 end on row c5. using method active cell cell in worksheet.

as suggested @jerry version can dragged or down , still refer row5:

=index($5:$5, 0, column()) 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -