Excel Formulas to Remove the Text By Variable Position ~ Quickly!!
Tags: excelformula, excelformulas
Published: 2021-06-22 03:12:16

---
title: Excel Formulas to Remove the Text By Variable Position ~ Quickly!!
published: true
date: 2021-06-15 14:44:58 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-remove-the-text-by-variable-position/
---

In the previous post, we have seen how to **[remove the text by its position in Excel](https://geekexcel.com/excel-formulas-to-remove-the-text-by-position/)**. Similarly, here we will show the formulas to **remove the text based on its variable position in Excel**. Let’s jump 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)

[![Remove text by variable position](https://geekexcel.com/wp-content/uploads/2021/06/Remove-text-by-variable-position.png)](https://geekexcel.com/excel-formulas-to-remove-the-text-by-variable-position/remove-text-by-variable-position/#main)<figcaption id="caption-attachment-46506">Remove text by a variable position</figcaption>

## Generic Formula:

- Use the below formula to remove the text based on variable position in Excel.

**=[REPLACE](https://geekexcel.com/different-ways-to-replace-function-in-excel-2013/)(text,start,[FIND](https://geekexcel.com/how-to-use-find-function-in-microsoft-excel-365/)(marker,text)+1,””)**

## Syntax Explanations:

- **REPLACE ** – This function helps to replace characters specified by location in a given text string with another text string. Read more on the [**REPLACE function**](https://geekexcel.com/different-ways-to-replace-function-in-excel-2013/).
- FIND – In Excel, the **[FIND function](https://geekexcel.com/how-to-use-find-function-in-microsoft-excel-365/)** is used to find out the one text string inside the other.
- **Text** – It represents the input value.
- **Marker** – It specifies character value.
- **Plus operator (+)** – This symbol is used to add the values.
- **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 text strings in **Column B**.
- Now we are going to remove the text string based on the variable.

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/06/Input-Ranges-37.png)<figcaption id="caption-attachment-46505">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-49.png)<figcaption id="caption-attachment-46504">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/Result1-6.png)<figcaption id="caption-attachment-46503">Result</figcaption>

## Closing Words:

This page provides some useful tricks on **how to remove the text by variable position in Excel**. 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 Ahead:

- **[Excel Formulas to Remove the Leading and Trailing Spaces From Text!!](https://geekexcel.com/excel-formulas-to-remove-the-leading-and-trailing-spaces-from-text/)**
- **[Formulas for Counting Rows that Matches Two or More Criteria in Excel!!](https://geekexcel.com/formulas-for-counting-rows-that-matches-two-or-more-criteria-in-excel/)**
- **[Excel Formulas to Remove the First Character ~ A Complete Tutorial!!](https://geekexcel.com/excel-formulas-to-remove-the-first-character/)**
- **[Excel Formulas to Find the Most Frequent Text with Criteria!!](https://geekexcel.com/excel-formulas-to-find-the-most-frequent-text-with-criteria/)**