Copy paste value in other rows

peppermin_t

New Member
Joined
Sep 6, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Very new to Excel and had a question about copy pasting a value from a certain cell to other cells.
If for example there is a value 'Group number 1' in cell A4, and I wanted to paste that value in B1:B4, what kind of formula should I use?
Also how can I continue this automatic copy+paste throughout the whole sheet? (E.g. 'Group number 2' in cell A8 to B5:B8)
Is this even possible?
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Welcome to the Board!

Try placing this formula in cell B4 and copying down as far as you need to go:
Excel Formula:
=INDIRECT("A" & INT(ROW()/4)*4)

and your results will look like this (results in red):
1662477763704.png
 
Upvote 0
Thank you so much! Is there any way the code would change if what's written down in A4 now, changes to A2?

1662493256718.png

What (in the end) I'm trying to achieve.
 
Upvote 0
Thank you so much! Is there any way the code would change if what's written down in A4 now, changes to A2?

What (in the end) I'm trying to achieve.
If you really want to start in cell A2, I am not sure why said A4 initially.
But you would just make this adjutsment:
Excel Formula:
=INDIRECT("A" & (INT((ROW()+2)/4)*4)-2)
 
Upvote 0
Solution
I originally messed up describing the Excel Sheet, hence my correction. Thank you so much for your help!
 
Upvote 0

Forum statistics

Threads
1,213,490
Messages
6,113,956
Members
448,535
Latest member
alrossman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top