autofill Rows Excel from given input values

ericwill43

New Member
Joined
Apr 20, 2009
Messages
4
Is there a way to fill rows in excel with given input values? for tens of thousand rows

across several different files given over 400 input values:
So I need to fill cell A2 with Ander all the way down to next team take that team name fill it

all the way down to next team etc, etc, etc
Example: (The dates are in col B team names in ColA)
Starting Data Desired Result
ColA ColB ColA ColB
Example:
Starting Data Desired Result
ColA ColB ColA ColB
Ander 11/1/2007 Ander 11/1/2007
11/5/2207 Ander 11/5/2207
11/16/2007 Ander 11/16/2007
12/4/2007 Ander 12/4/2007
12/8/2007 Ander 12/8/2007
12/27/2007 Ander 12/27/2007
1/7/2008 Ander 1/7/2008
1/29/2008 Ander 1/29/2008
2/29/2008 Ander 2/29/2008
3/1/2008 Ander 3/1/2008
Barry 11/7/2007 Barry 11/7/2007
11/14/2007 Barry 11/14/2007
11/16/2007 Barry 11/16/2007
12/4/2007 Barry 12/4/2007
12/8/2007 Barry 12/8/2007
12/27/2007 Barry 12/27/2007
1/7/2008 Barry 1/7/2008
1/29/2008 Barry 1/29/2008
2/29/2008 Barry 2/29/2008
3/1/2008 Barry 3/1/2008
3/6/2008 Barry 3/6/2008
Chico 11/5/2007 Chico 11/5/2007
11/14/2007 Chico 11/14/2007
11/16/2007 Chico 11/16/2007
12/4/2007 Chico 12/4/2007
12/8/2007 Chico 12/8/2007
12/27/2007 Chico 12/27/2007
1/7/2008 Chico 1/7/2008
1/29/2008 Chico 1/29/2008
2/29/2008 Chico 2/29/2008
3/1/2008 Chico 3/1/2008
3/4/2008 Chico 3/4/2008
Delan 11/5/2007 Delan 11/5/2007
11/14/2007 Delan 11/14/2007
11/16/2007 Delan 11/16/2007
12/6/2007 Delan 12/6/2007
12/8/2007 Delan 12/8/2007
12/21/2007 Delan 12/21/2007
1/7/2008 Delan 1/7/2008
1/24/2008 Delan 1/24/2008
2/29/2008 Delan 2/29/2008
3/1/2008 Delan 3/1/2008
3/5/2008 Delan 3/5/2008




I would like to autofill all empty rows in column a starting from the top all the way to the

end of list with the next teams name. no team more than once. Teams Season starts in Nov or

Dec and runs thru Feb to March. There may be a better way than autofill im not sure?:laugh:
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Eric,

Here is my solution:
  1. Select the first empty cell under Ander (in your example).
  2. Press the = key to start entering a formula.
  3. Hit the Up Arrow key to select the cell above.
  4. Hit Ctrl-Enter to enter the formula.
  5. Hit Ctrl-C to copy the cell.
  6. Hit Ctrl-* to select the current region.
  7. Hit Ctrl-G, click Special, check Blanks, and hit OK. This selects all blank cells in the selected region, not just the ones in the current column. Since you listed only 2 columns in your example and the 2nd column has no blanks, this will work.
  8. Hit Enter to paste the formula to all the blank cells.
If this is something you do often, you might record it as a macro and assign it to a Ctrl key.

HTH
Russ
 
Upvote 0

Forum statistics

Threads
1,223,984
Messages
6,175,783
Members
452,669
Latest member
reeseann

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