Excel.Tips.Net ExcelTips (Menu Interface)

Repeating Cell Contents

Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Repeating Cell Contents.

Julius is a former Lotus 1-2-3 user. He notes that in that program, if he presses the "\" key and follows it with anything, Lotus will repeat what he types to fill the entire cell. For example, if he types \12345, Lotus will show 123451234512345..., regardless of the width of the cell. Julius is wondering how to do the same in Excel.

There are a couple of ways you can do this one is with a formula, using the REPT worksheet function:


This formula repeats the text "12345" ten times. This approach works well if you know exactly how many times you want to repeat the text, but not so well if you don't. This leads to the second approach, which is to use formatting for the cell. Follow these steps:

  1. Select the cell or cells you want to format.
  2. Select Cells from the Format menu. Excel displays the Format Cells dialog box.
  3. Make sure the Alignment tab is selected. (See Figure 1.)
  4. Figure 1. The Alignment tab of the Format Cells dialog box.

  5. Using the Horizontal drop-down list, choose Fill.
  6. Click OK.

The result is that the cell formatting in this way will repeat whatever it contains as many times as it can fit that result into the cell. If the cell is not wide enough to display even one occurrence of the result, then you will see the familiar #### markers. The cell will only display entire occurrences of the result, not partial occurrences. Thus, it will display "1234512345," but not "1234512345123."

If you later want the cell to behave as normal, simply change the formatting to normal by following the same steps and choosing a different alignment setting in the Alignment tab of the dialog box.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3214) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Repeating Cell Contents.

Related Tips:

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!


Leave your own comment:

  Notify me about new comments ONLY FOR THIS TIP
Notify me about new comments ANYWHERE ON THIS SITE
Hide my email address
*What is 4+5 (To prevent automated submissions and spam.)
          Commenting Terms

Comments for this tip:

SRINI    25 Aug 2015, 02:52
i have excel cell like
 282& 309
i want to count how much time repeates in column 309 itself in array
Michael (Micky) Avidan    24 Feb 2015, 07:48
Would you be kind enough to present, us, a ScreenShot of where you found the "Remove Duplicates" in Excel 97-2003(!) - the versions this tip is, very clearly, referring to ?
Michael (Micky) Avidan
“Microsoft® Answers" - Wiki author & Forums Moderator
“Microsoft®” MVP – Excel (2009-2015)
segenay    23 Feb 2015, 11:49
Hi Somanka, highlight the values and then go to the data tab and choose "remove duplicates."

Greg, using the $ preserves the value. If you type =B$2+C$2, the 2s will stay when you drag it down. If you also need to drag left to right, uou can save the column value too by doing =$B$2+$C$2.
Somanka Maitra    10 Sep 2014, 15:07
Hi Michael,

Thanks for the message. Sorry about the tardy response!

I did use this method but didn't get anything. It just returned a blank cell.

Any idea why?

Thanks again for trying.

Michael (Micky) Avidan    05 Sep 2014, 07:48
Suppose your list resides in A1:A9.
In cell B2 (Not B1) type the following array formula and copy down:
To confirm an Array formula - use the "three key combination".
While holding down CTRL+SHIFT press ENTER instead of just pressing ENTER.
Michael (Micky) Avidan
“Microsoft® Answers" - Wiki author & Forums Moderator
“Microsoft®” MVP – Excel (2009-2015)
Somanka Maitra    04 Sep 2014, 10:34
Hi. My question relates to a somewhat reverse process. Suppose I have the dataset as follows:

... and I just want to get to a list of the colours:


Can I use a shortcut?
PhilP    31 Aug 2014, 07:21

You need to use an Absolute cell reference. =$B$2+$C$2.

When copied down this put the same result in each copied cell
Greg Mouning    30 Aug 2014, 20:26
I have a similar question but related to repeating (coping) the same formula down a column? For example, if I want to see the formula =B2+C2 in cells D2, D3, D4, D5 ... Currently, Excel iterates this formula down the column. For example:

D2 = B2+C2
D3 = B3+C3
D4 = B4+C4
D5 = B5+C5

Our Company

Sharon Parq Associates, Inc.

About Tips.Net

Contact Us


Advertise with Us

Our Privacy Policy

Our Sites


Beauty and Style




DriveTips (Google Drive)

ExcelTips (Excel 97–2003)

ExcelTips (Excel 2007–2016)



Home Improvement

Money and Finances


Pests and Bugs

Pets and Animals

WindowsTips (Microsoft Windows)

WordTips (Word 97–2003)

WordTips (Word 2007–2016)

Our Products

Helpful E-books

Newsletter Archives


Excel Products

Word Products

Our Authors

Author Index

Write for Tips.Net

Copyright © 2015 Sharon Parq Associates, Inc.