by Allen Wyatt
(last updated June 19, 2018)
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 two 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:
Figure 1. The Number tab of the Format Cells dialog box.
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.
The second approach is to go ahead and expect that you 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:
=A1 & "."
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, and 2013.
Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!
You may be looking for a way to have a formula determine if a particular cell has anything in it. Here's how you can find ...Discover More
When you select cells in a worksheet, there is a good chance that if you glance at the Task Bar, you'll see some ...Discover More
To reduce the chances of confusion in presenting data, some people like to use zeroes with slashes through them. If you ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.