How to Split Cells in Excel?
Microsoft Excel allows you to organize and manipulate data in various ways. When dealing with large datasets or information that needs to be segmented, the ability to split cells becomes a valuable tool. Splitting cells in Excel involves dividing the content of a single cell into multiple cells, which can be especially useful when you need to separate names, addresses, or other pieces of data currently combined in one cell. Learn how to split cells in Excel using built-in Excel functions and formulas.
Splitting in Excel is very simple. If you have multiple values in a single cell and want to separate them across multiple cells, Microsoft Excel has some easy-to-use options. This guide explores the techniques and methods for splitting cells in Excel, enabling you to efficiently manage and structure your data for better analysis and presentation.
Best-suited MS Excel courses for you
Learn MS Excel with these high-rated online courses
Content
- Split Cells using Text to Columns
- Split cells in Excel diagonally
- Flash Fill to Split Cells
- Excel text functions to Split Cells
How to Split Cells using Text to Columns
The easiest way to split cells is using the Text to Columns function. Let's check how to split a cell diagonally in Excel.
Below are some names we need to break into two parts.
Explore these online degree programmesโ
- Select all the cells that you want to split.
- Locate Data โ Data Tools โ Text to Columns.
- A Convert Text to Columns wizard will pop up. Choose the file type that is relevant to your data. In this case, we will choose Delimited.
- In the next step, we will select the delimiter for our data set. Since Space separates the names, we will select Space. Depending on what delimiter the data set has, choose your option. In the data preview, you can see how the cell will be split.
Press Next to set the data format. Select General if you donโt want to apply any other advanced settings.
You can choose Advanced Settings if you are working on numeric data and want to recognize numeric data.
Since we donโt want to use additional settings, we will click Cancel and Finish while selecting General.
The cell has now split into 2.
Split Cells Diagonally
We have already seen how to split a cell in Excel and its contents. Next, we will teach you how to split an Excel cell diagonally. Donโt worry, itโs very simple. Just follow these steps:
Step 1. Select the cell you want to split diagonally, right-click and choose the Format Cells option, as the following image illustrates.
Step 2. In the dialogue box, go to the Border tab and click the button containing the diagonal artwork, and then click OK.
Once youโve clicked OK, weโll have our cell divided diagonally.
Next, highlight the first word and go to the Fonts tab located in the Home tabโs bottom corner of the Fonts group.
In the dialogue box, check the Superscript box and click OK. Then, repeat the same procedure for the other word, but you will put the Subscript option on this one and click OK.
As you can see, the two words are now split diagonally in the cell.
Flash Fill for Splitting Cells
You must know this commonly used Excel function. You must tell Excel how you want your data to split in flash fill.
We will go to โ
Data โ Data Tools โ Flash Fill
Now, follow the same process for the next part of the string.
Excel Text Functions for Splitting Cells
You can split a cell in Excel using different text functions. These text functions allow you to extract parts of a cell that you can send to another cell.
Text functions in Excel include:
- Left() โ To extract several characters from the left side of the text
- Right() โ To extract multiple characters from the right side of the text
- Mid() โ To extract multiple characters from the middle of a string
- Find(): To find a substring within another string
- len() โ It returns the total number of characters in a text string
- All these functions are not required to split cells, but there are specific ways you can use them in formulas to achieve the results.
For example, you can extract the name from the Left and Find function. The Find feature helps because it can tell you where the delimiter character is. In this case, it is a space.
So the function would look like this:
=LEFT(A2,FIND(โ โ,A2))
When you press enter after typing this formula, you will see that the first name is extracted from the string in cell A2.
This works because the Left function needs the number of characters to extract. Since the space character is placed at the end of the name, you can use the LOOKUP function to find the space, which returns the number of characters you need to get the name.
You can extract the last name using the Right or Middle functions.
To use the Right function:
=RIGHT(A2,LEN(A2)-FIND(โ โ,A2))
This will extract the last name by finding the position of the space and then subtracting it from the total string length. This gives the Right function the number of characters it needs to extract the last name.
You can now drag the formula to the rest of the cells.
Splitting cells in Excel offers a versatile way to organize your data and improve readability. You can efficiently structure your Excel sheet by choosing the correct method between Text to Columns, formulas, or Flash Fill. Mastering these techniques will save you time and improve the accuracy of your work. Remember to consider the nature of your data and desired outcome when selecting your splitting technique.
Hope this article was helpful.
Top Trending Articles in MS Excel:
Most Useful Excel Formulas | Min Max Functions in Excel | Average Functions in Excel | Introduction to MS Excel | Financial Modelling in Excel | MS Excel interview questions | Sum Function in Excel | Trim Function in Excel | Pivot Table in Excel | Percentage in Excel | Vlookup in Excel | Median Function in Excel | Types of Charts in Excel | Count Function in Excel | MS Excel Vs. Google Sheet | Remove Duplicates in Excel | Create Graph in Excel
FAQs - Splitting Cells in Excel
Can I split a cell based on a specific character or delimiter?
Yes, you can split a cell based on a specific character or delimiter by choosing the "Delimited" option in the "Text to Columns" wizard. Excel allows you to specify the delimiter you want to use.
How do I split a cell into rows instead of columns?
To split a cell's content into rows, you can use the "Text to Columns" feature and select the "Delimited" option. Then, choose the delimiter and select "Treat consecutive delimiters as one" if needed.
Can I split cells using a custom formula or function?
Yes, you can split cells using custom formulas and functions. For example, you can use functions like LEFT, RIGHT, MID, or SUBSTITUTE to split cell contents based on specific criteria.
How do I split a cell into multiple columns based on a fixed width?
You can choose the "Fixed Width" option in the "Text to Columns" wizard to split a cell into multiple columns based on a fixed width. Define the column widths, and Excel will split the cell accordingly.
Can I split cells in Excel Online or Excel for Mac?
Yes, you can split cells in Excel Online and Excel for Mac using similar techniques. The "Text to Columns" feature is also available in these versions.
Are there any shortcuts to quickly split cells in Excel?
While there are no direct keyboard shortcuts for splitting cells, you can create custom macros or use Excel add-ins to streamline the process and make it more efficient.
Rashmi is a postgraduate in Biotechnology with a flair for research-oriented work and has an experience of over 13 years in content creation and social media handling. She has a diversified writing portfolio and aim... Read Full Bio