The content generated by alt carriage return, in excel, the function expression is char(10)
acsii code is alt 10
therefore
Use substitution to solve your problem. Strictly follow what I tell you and don’t act arbitrarily
ctrl H
The content entered in the search content box is invisible characters, the method is
Press the alt key without letting go, then press 10
in the small numeric keyboard areaRelease alt, press and hold alt again, enter 10 in the small numeric keyboard area again, release alt, press alt again and hold, enter 10 in the small numeric keyboard area again
That is, you need to press alt three times in total and enter 10
The replacement content is also an invisible character, which is a secondary alt 10
Then click Replace All. A pop-up window will tell you how many times it has been replaced. Confirm this window, and then click Replace All. It will also tell you how many times it has been successful. Repeat this until it prompts that the content cannot be found, and your request is completed.
Key points, 1. Press alt when you should press it, and release it when you should release it.
2. The small numeric keyboard area refers to the right side of the keyboard, not the top
3. Only replace them all multiple times.
First we open the worksheet where we need to delete blank rows in batches. As shown in the figure, we can see that there are blank rows in this table.
After opening, we move the mouse to the menu bar. There is an "Edit" button in the menu bar. Click the button, and in the drop-down option, we click the "Locate" button.
After clicking the "Position" button, the dialog box as shown in the figure will pop up. At this time, we click "Positioning Conditions".
After clicking "Positioning Conditions", the following situation will appear. At this time, we select the "Null Value" button, and then click the "OK" button below.
After clicking the "OK" button, the picture will appear. At this time, we can see that the blank rows have been selected. Then at this time, we can move the mouse to a blank row and click the right mouse button.
After clicking the right button of the mouse, a drop-down menu will appear. In the drop-down menu, we click the "Delete" button.
After clicking the "Delete" button, the dialog box as shown in the figure will pop up. At this time, we select "Move the lower cells up" and then click the "OK" button below.
After clicking the "OK" button, the image shown in the figure will appear. At this time, we can see that the previously existing blank lines have been deleted by us in batches.
Method/Step
First we open the worksheet where we need to delete blank rows in batches. As shown in the figure, we can see that there are blank rows in this table.
After opening, we move the mouse to the menu bar. There is an "Edit" button in the menu bar. Click the button, and in the drop-down option, we click the "Locate" button.
After clicking the "Position" button, the dialog box as shown in the figure will pop up. At this time, we click "Positioning Conditions".
After clicking "Positioning Conditions", the following situation will appear. At this time, we select the "Null Value" button, and then click the "OK" button below.
After clicking the "OK" button, the picture will appear. At this time, we can see that the blank rows have been selected. Then at this time, we can move the mouse to a blank row and click the right mouse button.
After clicking the right button of the mouse, a drop-down menu will appear. In the drop-down menu, we click the "Delete" button.
After clicking the "Delete" button, the dialog box as shown in the figure will pop up. At this time, we select "Move the lower cells up" and then click the "OK" button below.
After clicking the "OK" button, the image shown in the figure will appear. At this time, we can see that the previously existing blank lines have been deleted by us in batches.
Delete blank lines directly
1
First open the excel table, place the mouse on the blank row, then right-click the mouse and select the "Delete" menu in the pop-up menu. (As shown below)
2
In the pop-up delete confirmation window, select delete the entire row, and then click the OK button. (As shown below)
3
Then repeat the above steps until all blank lines are deleted. (As shown below), this method is suitable for excel tables with relatively few blank lines.
END
Delete blank lines in batches
1
Open the excel table, then hold down the "Ctrl" key on the keyboard, and then use the mouse to continuously click on the blank rows to select all blank rows. (As shown below)
2
After selecting all the blank lines, right-click the mouse and select the delete function in the pop-up menu function. (As shown below)
3
Then in the confirmation window that pops up, select the entire row, and then click the OK button, so that all blank rows will be deleted. (As shown in Figure 1 and Figure 2 below)
END
Position and delete blank lines
The above two methods are still not fast enough. If there are many blank rows, you can locate the blank rows and first select all the data.
Among all the tools under the start menu, find the "Find and Select" tool in the upper right corner, click the drop-down icon, and select "Targeting Criteria".
In the positioning criteria window, select the null value, and then click the OK button.
After positioning the conditions, all empty values in the table have been selected, then right-click the mouse and select the delete menu.
5
In the delete confirmation window, select delete the entire row, and then click OK, so that all blank rows under the positioning are deleted successfully.
The above is the detailed content of Tips on deleting blank rows in Excel cells. For more information, please follow other related articles on the PHP Chinese website!