# REPT Excel Formula

Microsoft Excel offers a lot of function for you to use. These functions are best suited for data inputting and even replacements or replace data, words, or characters. Excel contains REPT function that allows the user to replace a data, word, or character in a source cell. This can also be done in multiple cells or different cells.

The syntax or sequence of the character for the REPT command is REPT (text_number_times). The argument text here refers to the content or text you would wish to repeat. Likewise, the Number_times argument refers to the positive numerical figure which specifies the number of instances you would want the text be repeated.

Take note that if the Number_times has a numerical value of 0 (zero), the REPT shows as “” or with an empty text. Also, if the Number_times is not a positive numerical value, the function will be condensed. Lastly, the maximum number of result of REPT function is only 32,767 figures or characters and if it exceeds, the REPT goes back to #VALUE!

An alternative function for the REPT is the cell formatting. This is only applicable to fill within a cell for a certain character or value. The process would be, first open an Excel worksheet and select a cell. In the selected cell input a character that you prefer. To open a window for Format Cells, select the cell then press the Ctrl+1 key. Select and click on its Alignment tab then on its Horizontal setting click on Fill then hit OK.

A REPT function will allow the user to make and fill in a certain cell or a number of calls with character(s) to create the dot chart or perhaps the in-cell bar. This could be very useful for the older versions of Excel. For instance, you would want to produce bar chart with an objective of 100 open first an Excel worksheet. Select the cell A1 and input in the number 100. On the B1 cell input the formula =REPT(“n”,B3/5). After inputting the formula, format the B1 cell with the font Windings with your preferred font size. Right after formatting, adjust the width of the column for the results to fit in the cell. Alter the given number in the cell A1 and eventually chart will alter.

For one to create an in-cell dot chart an example is to first open an Excel worksheet or spreadsheet. For a 100 target dot chart, select on cell A1 and input the number 100. In B1 enter the formula known as =REPT(“ ”,B3/5-1) & “o”. Now, adjust the width of the column for the results to fit. After adjusting, continue by changing the number inside the cell A1 which will automatically change the location of the dot.

REPT function could be utilized as well to keep a speedy tally. This can be utilized in counting days or scores while playing your favorite board game. This will look like a tally sheet but is made up of all the letters :t”. To make a tally sheet like worksheet for REPT function, open first an Excel worksheet. In the cell A1 type the projected or targeted amount, let us say for example you aim for 30 points. So, you input 30 on the cell A1. Select on the cell B1 and input the subsequent formula; =REPT(“ttt”,INT(B3/50)) & REPT(“I”,MOD(B3,5)). After inputting the formula, format now the cell B3 with the font style Comic Sans or with a font style which shows a straight item “t”. For the results to fit on the columns, adjust the width, row height, including its format for the Wrap Text. To change or update your tally, just change the digit or number inside the formula in cell A1. If the formula or the result has a remainder, the remainder amount will be shown in the last part as a lower case L.

To get the final text in an item within a column you can also make use of this REPT function. This must be combined with the VLOOKUP function, an example would be if you would want to locate the last piece inside column D utilize the formula; =VLOOKUP(REPT(“z”,255),D:D1). This REPT function allows in creating text strings of alphabet ending which the VLOOKUP is not capable to perform.

### Further readings

## Post comment

## Categories

## Recent Posts

- How to Use the MS Excel Keyboard Shortcuts
- How to Locate Duplicate Records Quickly By Using Conditional Formatting in MS Excel
- How to Use PasteSpecial – Procedures for Microsoft Excel 2003 and Microsoft Excel 2007
- How to Sort using an AutoFilter – Understanding and Learning the Feature
- How to Base a Chart Off of Auto Filtered Records
- How to Use IF IsError Together?
- How to Use Custom Views
- How to Create Pivt Table
- How to Manipulate PivotTable after It has Been Created
- How to Update the Data in a Pivot Table
- How to Create Dynamic Named Ranges
- How to Use an Array
- How to Embed 8 If Statements into 1
- How to Edit a Recorded Macro?
- How to Record a Macro