Copy a varying value from a varying position into a varying number of cells & repeat

wifi_n

New Member
Joined
Aug 30, 2014
Messages
2
In essence, I would like to change this:


Code:
1	2	3	4
	V1
	
	A	B	C	
	.	.
	.	.	.
	.	.	.
	.	.	.
	.	.	.
	.	.	.
	.	.	.
	.	.	.
	.	.	.
	.	.	.
	.	.	.
	.	.	.




	V2
	
	A	B	C	
	.	.	.
	.	.	.
	.	.	.
	.	.	.
	.	.	.
	.	.	.
	.	.	.
	.	.	.
	.	.	.


to this:


Code:
1	2	3	4
	V1
	
	A	B	C	
V1	.	.	.
V1	.	.	.
V1	.	.	.
V1	.	.	.
V1	.	.	.
V1	.	.	.
V1	.	.	.
V1	.	.	.
V1	.	.	.
V1	.	.	.
V1	.	.	.
V1	.	.	.




	V2
	
	A	B	C	
V2	.	.	.
V2	.	.	.
V2	.	.	.
V2	.	.	.
V2	.	.	.
V2	.	.	.
V2	.	.	.
V2	.	.	.
V2	.	.	.


"1", "2", "3", "4" are just column numbers. They are not present in the actual spreadsheet.


Each dot represents a piece of data that must be kept as is. "A", "B", and "C" are the same across the entire spreadsheet and are present 2 rows below the V value in every case. The V1, V2, V3, etc. are all different from each other. The V values are just text and spaces, no numbers. Notice that there are 2 blank rows between the end of a V series and the beginning of another. There is only 1 blank row between the V value and "A", "B", and "C". The dot values in Column 2 are dates (formatted as text) in the form of "Aug. 1", "Sep. 10", "Oct. 20", "Nov. 30", etc. You may find that helpful.


I essentially just want to copy the V value from its cell in Column 2 into the cells and rows in Column 1 in which there are dots. There's about 300 V values. The number of rows within a V series is not constant, but is generally close to 10.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,224,889
Messages
6,181,611
Members
453,056
Latest member
apmale77

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