Excel Formulas to Convert the String into Array ~ Quick Tricks!!
Tags: excelformula, excelformulas
Published: 2021-06-16 12:02:17

---
title: Excel Formulas to Convert the String into Array ~ Quick Tricks!!
published: true
date: 2021-06-04 13:55:11 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-convert-the-string-into-array/
---

Are you looking for the formulas to **convert the string into an array in Excel**? If yes, then, this article is for you. 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)

[![Convert string into an array](https://geekexcel.com/wp-content/uploads/2021/06/Convert-string-into-an-array.png)](https://geekexcel.com/excel-formulas-to-convert-the-string-into-array/convert-string-into-an-array/#main)<figcaption id="caption-attachment-46073">Convert string into an array</figcaption>

## General Formula:

- Use the below formula to convert the string into an array, you can use the below formula.

**{=[MID](https://geekexcel.com/how-to-use-mid-function-in-microsoft-excel-365/)(string,[ROW](https://geekexcel.com/row-function-in-microsoft-excel-365-how-to-use/)([INDIRECT](https://geekexcel.com/use-indirect-function-in-microsoft-excel-365-in-easy-ways/)(“1:”&[LEN](https://geekexcel.com/how-to-use-len-function-in-microsoft-excel-365/)(string))),1)}**

## Syntax Explanations:

- **MID**  – In Excel, the **[MID function](https://geekexcel.com/how-to-use-mid-function-in-microsoft-excel-365/)** extracts the number (starting from the left side) or characters from the given string
- **ROW** – This function helps to return the row number for reference. Read more on the **[ROW function](https://geekexcel.com/row-function-in-microsoft-excel-365-how-to-use/)**.
- **INDIRECT** – The Excel **[INDIRECT function](https://geekexcel.com/use-indirect-function-in-microsoft-excel-365-in-easy-ways/)** returns a valid reference from a given text string.
- **LEN**  – It is used to find the length of the text string. Read more on the [**LEN Function**](https://geekexcel.com/how-to-use-len-function-in-microsoft-excel-365/).
- **String** – It represents the input ranges.
- **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.

## Example:

Refer to the below example image.

- First, we will enter the input values in **Column B**.
- Here we need to convert the string into an array format.

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/06/Input-Ranges-10.png)<figcaption id="caption-attachment-46075">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-14.png)<figcaption id="caption-attachment-46074">Enter the formula</figcaption>

- Finally, Press **CTRL** + **SHIFT** + **ENTER**  keys to get the result out, if you need, drag the fill handle over range to apply the formula.

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

## Wrap-Up:

From this chapter, you can get to know the formulas to **convert the string into an array in Excel**. Let me know if you have any **doubts** regarding this article or any other Excel/VBA topic.

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/) **!! **

### Related Articles:

- **[How to Find the Last Column of Data in Excel Office 365?](https://geekexcel.com/how-to-find-the-last-column-of-data-in-excel-office-365/)**
- **[How to Validate Only Numbers in Cell in Excel Office 365?](https://geekexcel.com/how-to-validate-only-numbers-in-cell-in-excel-office-365/)**
- **[Excel Formulas to Check the Conditional Message with REPT Function!!](https://geekexcel.com/excel-formulas-to-check-the-conditional-message-with-rept-function/)**
- **[How to Find the Last Column of Data in Excel Office 365?](https://geekexcel.com/how-to-find-the-last-column-of-data-in-excel-office-365/)**