Excel Formulas to Pad the Text into Equal Length ~ Simple Tricks!!
Tags: excelformula, excelformulas
Published: 2021-06-21 02:48:10

---
title: Excel Formulas to Pad the Text into Equal Length ~ Simple Tricks!!
published: true
date: 2021-06-14 04:47:03 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-pad-the-text-into-equal-length/
---

Have you ever tried to **pad the text strings into equal length in Excel**? In this chapter, we will show the simple formulas to solve this problem. Let’s get into this article!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

[![Pad text to equal length](https://geekexcel.com/wp-content/uploads/2021/06/Pad-text-to-equal-length.png)](https://geekexcel.com/excel-formulas-to-pad-the-text-into-equal-length/pad-text-to-equal-length/#main)<figcaption id="caption-attachment-46389">Pad text to equal length</figcaption>
## General Formula:

- Use the below formula to pad the text into equal length in Excel.

**=A1&[REPT](https://geekexcel.com/how-to-use-rept-function-in-microsoft-excel-2013/)(“\*”,count-[LEN](https://geekexcel.com/how-to-use-len-function-in-microsoft-excel-365/)(A1))**

## Syntax Explanations:

- **REPT** – The [**REPT function**](https://geekexcel.com/how-to-use-rept-function-in-microsoft-excel-2013/) repeats characters a given number of times.
- **LEN** – This function returns the length of a given text string as the number of characters. Read more on the [**LEN function**](https://geekexcel.com/how-to-use-len-function-in-microsoft-excel-365/).
- **A1** – It represents the input value.
- **Count** – It specifies the text length.
- **Comma symbol (,)** – It is a separator that helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.

## Practical Example:

Refer to the below example image.

- Here, we will enter the input values in **Column B.**
- Now we are going to pad the input values into equal length.

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/06/Input-Ranges-29.png)<figcaption id="caption-attachment-46388">Input Ranges</figcaption>

- Select any cell and type the above-given formula.

![Enter the formula](https://geekexcel.com/wp-content/uploads/2021/06/Enter-the-formula-39.png)<figcaption id="caption-attachment-46387">Enter the formula</figcaption>

- Finally, press the ** ENTER** key, you can get the result as shown below.

![Result](https://geekexcel.com/wp-content/uploads/2021/06/Result-32.png)<figcaption id="caption-attachment-46386">Result</figcaption>

## Closure:

Hope you like this article on **how to pad the text into equal length in Excel**. Hope you like it. Leave a **comment** or reply below to let me know what you think!

Thank you so much for visiting  **[Geek Excel](https://geekexcel.com/)!! **If you want to learn more helpful formulas, check out [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!! **

### Read Also:

- **[Excel Formulas to Extract the Substring ~ A Complete Guide!!](https://geekexcel.com/excel-formulas-to-extract-the-substring/)**
- **[Excel Formulas to Count specific word in a range ~ Easy Tutorial!!](https://geekexcel.com/excel-formulas-to-count-specific-words-in-a-range/)**
- **[Formulas for Extracting Substring Between Two Texts in Excel 365!!](https://geekexcel.com/formulas-for-extracting-substring-between-two-texts-in-excel-365/)**
- **[Excel Formulas to Count Total Words in a Range ~ Useful Tips!!](https://geekexcel.com/excel-formulas-to-count-total-words-in-a-range/)**
- **[How to Find the Actual Price of the Discounted Price in Excel 365?](https://geekexcel.com/how-to-find-the-actual-price-of-the-discounted-price-in-excel-365/)**