# AutoFilling Numbers with a Trailing Period

by Allen Wyatt
(last updated January 23, 2020)

Iana wants to AutoFill a column of sequential numbers as "1.", "2.", etc., through "150.". The AutoFill will only work without the trailing period, but she wants the period there.

As Iana has discovered, AutoFill doesn't do a great job on figuring out how to "increment" text. It does OK if you are working with well-established sequences, such as the alphabet or days of the week, but it is downright stupid when it comes to most other text values. And, unfortunately, entering a number (1) followed by a period places a text string (1.) in the cell. Bingo! AutoFill chokes.

There are at least three potential solutions. The first is to stick to numbers (which AutoFill can work with) and apply a custom format to the cells in order to add the period. Follow these steps:

1. Use AutoFill to create your sequence of 150 cells, numbered 1 through 150.
2. Select the cells.
3. Select the Home tab of the ribbon.
4. Click the small icon at the bottom-right of the Number group. Excel displays the Format Cells dialog box.
5. If the Number tab is not displayed, select it.
6. In the Category list, choose Custom. The dialog box changes so you can enter a custom format. (See Figure 1.)
7. Figure 1. The Number tab of the Format Cells dialog box.

8. In the Type box enter the following: 0. (the digit 0 followed by a period).
9. Click OK.

Your numbers should now all appear just fine with a trailing period. And, best of all, they are still numbers so you could do math with them, if necessary.

A couple of subscribers suggested a second method to get sequential numbers with a trailing period. This method uses a formula and results in numbers without applying a custom format to the cells. Follow these steps:

1. In cell A1 enter the following formula:
2. ```       =Row(A1)&"."
```
3. Use AutoFill to create your sequence of 150 cells, numbered 1 through 150 which are automatically followed by periods.

Another approach is to go ahead and expect that your numbers will end up as text. In this case, you should make sure that columns A and B are empty and then follow these steps:

1. In column A, use AutoFill to create your sequence of 150 cells, numbered 1 through 150.
2. In cell B1 (or whatever cell is to the right of the first cell in the column A sequence) enter the following formula:
3. ```       =A1 & "."
```
4. With cell B1 still selected, double-click the fill handle at the bottom-right corner of the cell. You should now have a range of cells in column B that have your 1 through 150 numbers with the trailing period.
5. Make sure the range of cells are selected in column B. (For instance, select the range B1:B150 if those contain your numbers followed by periods.)
6. Press Ctrl+C to copy the range to the Clipboard.
7. Display the Home tab of the ribbon.
8. Click the down-arrow under the Paste tool and select to paste Values.
9. Delete column A.

Your numbers should now all appear just fine, with the trailing period, in column A. The difference between this approach and the earlier approach is that in this case the numbers aren't really numbers in the eyes of Excel—they are text values.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13294) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Office 365.

##### Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

##### MORE FROM ALLEN

Shortcut for Viewing Formulas

If you need to switch between viewing formulas and viewing the results of those formulas, you'll love the keyboard ...

Discover More

Brackets around Footnote References

When you insert footnotes in a document, Word allows you to modify the formatting applied to the footnote references. ...

Discover More

Requiring Input

If you distribute a workbook that is used by others for data entry, you may want a way to make sure they fill in certain ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

##### More ExcelTips (ribbon)

Recording a Data Entry Time

When entering information in a worksheet, it is common to also note a date or time corresponding to the entry. There are ...

Discover More

Mouse Scroll Wheel Doesn't Work when Editing Formulas

Using your mouse to select cells for inclusion in a formula can be an exercise in futility on some systems. Here's why ...

Discover More

Copying Subtotals

If you have added subtotals to your worksheet data, you might want to copy those subtotals somewhere else. This is easy ...

Discover More
##### Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is one minus 0?

2018-06-18 02:39:41

Richard Haines

I suggest another method for the auto fill with sequential numbers having an additional period:
1., 2., 3., ... down the column.
Begin by entering "1" as a text character " '1 ," then in the adjacent column enter =(adjacent cell)&"."
Do a smart fill with these two adjacent cells as far down as wanted --bingo.
Next, all that is necessary is to do a copy and paste of values, then delete the original column having no "."

2018-06-17 20:35:31

David

Another method is to use the formula =Row(A1) & "." and autofill that.

2015-07-17 08:16:05

Max Olafsson

Doing custom:

#.###.

in combination with sum formula seems to work in some cases..at least did for me..the '0.' didn't work, maybe the locale settings are interfering?

Using Excel 2013.

2014-11-04 10:01:19

Paul S.

Adding on to Barry's. If you start on a row that is not row one, you can quickly adapt the formula to account for that. For example if you start on row 10, the formula would be:

=(Row()-9) & "."

2014-11-03 04:13:22

Rob Land

if you create a custom list in the format you require (1. to 150.) and start with a cell which you've input 1. formatted as text, then 1. to 150. will AutoFill!
(Works for me W7, Excel2013, UK Config)

2014-11-02 07:20:40

Barry

You could also use the formula:

=Row() & "."

then copy this down

2014-11-01 05:59:46

Marcel Beugelsdijk

@Micky,

Well, it seems my solution was independently confirmed by a MVP, so much appreciated!

Thanks,
Marcel

2014-11-01 05:31:32

Michael (Micky) Avidan

@Marcel Beugelsdijk,
Sorry, I didn't noticed your last sentence.
Michael (Micky) Avidan
“Microsoft® Answers" - Wiki author & Forums Moderator
“Microsoft®” MVP – Excel (2009-2015)
ISRAEL

2014-11-01 05:25:16

Michael (Micky) Avidan

@Marcel Beugelsdijk,
Try custom format - as: 0"."
Michael (Micky) Avidan
“Microsoft® Answers" - Wiki author & Forums Moderator
“Microsoft®” MVP – Excel (2009-2015)
ISRAEL

2014-11-01 04:51:09

Marcel Beugelsdijk

The proposed format - 0. - will not work with all international settings.
Here in the Netherlands, we use a comma as decimal separator.

The format 0"." will work in all cases.

2014-11-01 03:22:30

Richard Haines

Any number represented as text, within a text string, can be easily converted to a number by extracting the text number portion, using RIGHT, LEFT or MID Functions, then performing an arithmetic operation.
If the number is to be unchanged, the operation of (text number)*1, or (text number)/1 will do the trick.

If the number is expressed as text, but there is no other text in the string, simply perform an arithmetic operation --RIGHT, LEFT or MID functions are not required.

##### This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.