How can I extract the year "1851" from "AL011851" and copy that year for 14 rows. This process repeats with the variables being the year and the number of rows for that particular year. The number of rows to copy is given in a certain cell in column F.
Example 1:
E
Etc...for 52,000 rows.
Thank you in advance!
There are 52,000 rows in total.
Example 1:
E
xtract the year "1851" from "AL011851" (in column 1) and copy the 4-digit year to another column for 14 rows.
Example 2:
Extract the year "1851" from "AL021851"
Example 3:
Extract the year "1980" from "AL021980"
Example 2:
Extract the year "1851" from "AL021851"
(in column 1) and copy the 4-digit year to another column
for 1 row.Example 3:
Extract the year "1980" from "AL021980"
(in column 1) and copy the 4-digit year to another column
for 49 rows.Etc...for 52,000 rows.
Thank you in advance!