Home> Topics> excel> body text

Practical Excel skills sharing: It turns out that the 'positioning function' is so useful!

青灯夜游
Release: 2022-05-10 10:48:01
forward
8037 people have browsed it

In the previous article "Practical Excel Tips Sharing: Quick Data Summing and Adding Styles for Subtotal Rows", we learned how to quickly sum data and add styles for multiple cross-row subtotal rows . Today we are going to talk about Excel’s positioning function, which is not easy to use! Want to select all formulas? Or do you want to select all empty rows? All done in 3 seconds, let’s learn together!

Practical Excel skills sharing: It turns out that the 'positioning function' is so useful!

Is there anyone who hasn’t used Excel’s positioning function? I have never used it beforePractical Excel skills sharing: It turns out that the positioning function is so useful!

Okay, today we will introduce the wonderful use of the positioning function.

1. Positioning formula

As shown in the figure below, after we finish the salary table, we want to select the cells with formulas and put Formula results are fixed.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

Select the entire table area.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

Press the positioning shortcut key ctrl G, the following dialog box will pop up, click on the positioning conditions.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

Click "Formula" in the new dialog box that pops up. The options under the formula represent formulas containing only numbers, formulas containing only text, etc. The default is all Select it and click the OK button after setting.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

#You can see at this point that all cells with formulas in the table are selected.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

Then we press the copy shortcut key "ctrl C", then select "Value" from the "Paste" drop-down menu under the "Home" tab of the unit price.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

#At this point we can see that the cells with formulas have fixed results. Click any cell and you will see only numbers and no formulas in the edit bar.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

In fact, in addition to selecting all cells with formulas, in the same way, we can also select all objects in excel (shapes, text boxes, charts, etc.), only You just need to check "Object" in the positioning dialog box. You can go down and try it yourself.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

2. Locate blank rows

As you can see, there are several rows in my table below If the rows are empty, when the data is relatively large, deleting them one by one is a waste of time.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

Select the entire table area.

1Practical Excel skills sharing: It turns out that the positioning function is so useful!

Press the positioning shortcut key "ctrl G", as before, click "Location Conditions" in the pop-up dialog box, and select "Empty" in the new dialog box value".

1Practical Excel skills sharing: It turns out that the positioning function is so useful!

You can see at this point that all spaces are selected and highlighted in blue.

1Practical Excel skills sharing: It turns out that the positioning function is so useful!

Right-click on the selected empty cell and select "Delete" in the drop-down list.

1Practical Excel skills sharing: It turns out that the positioning function is so useful!

Click "Entire Row" in the pop-up dialog box, and click OK to complete.

1Practical Excel skills sharing: It turns out that the positioning function is so useful!

At this point you will find that all blank lines have been deleted.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

The above uses positioning to delete empty lines. Let’s expand it and use filtering to delete empty lines.

Select the entire table area and click the "Data"-"Filter" button.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

At this point, you will see that a drop-down option has been added to the title of the first row of the table.

1Practical Excel skills sharing: It turns out that the positioning function is so useful!

Click the drop-down button in the name column, deselect all, check "Blank", and click OK.

1Practical Excel skills sharing: It turns out that the positioning function is so useful!

At this point you can see that only blank areas are displayed in the table.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

Select the filtered blank area.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

Right-click and select "Delete Row" from the drop-down menu.

2Practical Excel skills sharing: It turns out that the positioning function is so useful!

Click OK in the pop-up dialog box.

2Practical Excel skills sharing: It turns out that the positioning function is so useful!

At this point you can see that the blank lines are deleted and only the title row is displayed.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

Click the "Name" drop-down menu, check Select All, and click OK after setting.

2Practical Excel skills sharing: It turns out that the positioning function is so useful!

You can see the final result at this time.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

If you want to cancel the filter drop-down menu, just click the "Filter" button under the "Data" tab again.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

3. Locate visible cells

As shown in the figure below, we filtered the table (The screening method is the same as before, so I won’t go into details here.) Only the design department was retained.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

Friends who use the 2007 version can give it a try. At this time, if you directly copy and paste the entire table area above, you will find that the hidden cells appear again after copying and pasting. It is displayed (this is just a BUG in the 2007 version). If we only want to copy visible cells, we need to position them first.

Select the table area.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

Press the positioning shortcut key "ctrl G", click "Location Conditions" in the dialog box, click "Visible Cells" in the new dialog box, and set Click OK when done.

2Practical Excel skills sharing: It turns out that the positioning function is so useful!

At this time you can see that all visible cells are selected.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

Directly press the copy shortcut key ctrl c, then click on a blank cell and press ctrl v. You can see that only the visible cells are copied.

Practical Excel skills sharing: It turns out that the positioning function is so useful!

Similarly, after completing the salary statistics table, the wages were paid, and the sales department performed well. The boss suddenly said that the wages payable to the sales department staff would be directly increased by 200. As a bonus, we can also filter out the sales department personnel first, locate the visible cells, and then do the "Copy" - "Paste Special" - "Add" operation. No matter what version of this operation you can try, if you don’t locate the visible cells first, the wages of all employees will be increased by 200. If you don’t believe it, you can try it!

For those who don’t know how to paste selectively, you can take a look at the previous tutorial. The link is here: //m.sbmmt.com/topic/excel/491640.html

Related learning recommendations:excel tutorial

The above is the detailed content of Practical Excel skills sharing: It turns out that the 'positioning function' is so useful!. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:itblw.com
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!