Home >Topics >excel >How to divide excel table into two using slash

How to divide excel table into two using slash

DDD
DDDOriginal
2023-08-02 11:34:049673browse

How to divide an Excel table into two with a slash: 1. Use the text box tool to create a new worksheet, select the "Insert" tab in the toolbar, and then create a text box in Enter the text that needs to be split into the text box, then right-click, select "Format Text Box", adjust the size and position of the text box, and ensure that the slash is at the desired position; 2. Use the conditional formatting function to enter the text that needs to be split. , you can place text in a cell, select the cells or cell ranges that need to be divided, and so on.

How to divide excel table into two using slash

In an Excel table, we can use a slash to divide a cell into two. Two common methods are detailed below.

Method 1: Use the text box tool

Open Excel and create a new worksheet.

Select the "Insert" tab in the toolbar, and then select the "Text Box" tool under "Text".

Click and drag the mouse on the worksheet to create a text box.

Enter the text to be split in the text box.

Select the text box, then right-click and select "Format Text Box".

Under the "Alignment" tab, select "Text Direction" as "Top and Bottom".

Under the "Fill" tab, select "Fill Color" as white.

Adjust the size and position of the text box to make sure the slash is where you want it.

Method 2: Use conditional formatting function

Open Excel and create a new worksheet.

Enter the text that needs to be split. You can put the text in a cell.

Select the cells or range of cells that need to be split.

Select the "Home" tab in the toolbar, then select "New Rule" under "Conditional Formatting".

In the "New Formatting Rule" dialog box, select the "Use a formula to determine the format to set" option.

Enter the following formula in the "Format Value" box: =MOD(ROW(),2)=0

The meaning of this formula is that if the row number of the current row can be divided by 2 , conditional formatting is applied.

Click the "Format" button and select the "Fill Color" as white under the "Fill" tab.

Click the "OK" button to complete the conditional formatting settings.

If necessary, the width and height of the cell can be adjusted to accommodate the position of the slash.

Both methods can achieve the effect of dividing the slash into two. Choose the method that works for you, and make adjustments as needed.

The above is the detailed content of How to divide excel table into two using slash. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn