Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
344 views
in Technique[技术] by (71.8m points)

An excel cell need to be fixed, however the fixed cell should change, when i copy and the paste rows below

enter image description here

I have linked cells P11 to P17 with the cell E9 and formula for that I used is highlighted in image.

If I want make another control type, I will simply copy rows (8to17) and paste it in rows (19to28),

so in this case, do we have any formula, such a way that, the Type 1B should automatically referred and displayed in cells P22 to P27


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

This formula would go in P11 and it assumes that the copy area is always 11 offset by 11 rows as your example suggests.

=INDEX(E:E,INT((ROW($ZZ1)-1)/11)*11+9)

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...