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

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: https://www.php.cn/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!

Statement
This article is reproduced at:部落窝教育. If there is any infringement, please contact admin@php.cn delete
MEDIAN formula in Excel - practical examplesMEDIAN formula in Excel - practical examplesApr 11, 2025 pm 12:08 PM

This tutorial explains how to calculate the median of numerical data in Excel using the MEDIAN function. The median, a key measure of central tendency, identifies the middle value in a dataset, offering a more robust representation of central tenden

Google Spreadsheet COUNTIF function with formula examplesGoogle Spreadsheet COUNTIF function with formula examplesApr 11, 2025 pm 12:03 PM

Master Google Sheets COUNTIF: A Comprehensive Guide This guide explores the versatile COUNTIF function in Google Sheets, demonstrating its applications beyond simple cell counting. We'll cover various scenarios, from exact and partial matches to han

Excel shared workbook: How to share Excel file for multiple usersExcel shared workbook: How to share Excel file for multiple usersApr 11, 2025 am 11:58 AM

This tutorial provides a comprehensive guide to sharing Excel workbooks, covering various methods, access control, and conflict resolution. Modern Excel versions (2010, 2013, 2016, and later) simplify collaborative editing, eliminating the need to m

How to convert Excel to JPG - save .xls or .xlsx as image fileHow to convert Excel to JPG - save .xls or .xlsx as image fileApr 11, 2025 am 11:31 AM

This tutorial explores various methods for converting .xls files to .jpg images, encompassing both built-in Windows tools and free online converters. Need to create a presentation, share spreadsheet data securely, or design a document? Converting yo

Excel names and named ranges: how to define and use in formulasExcel names and named ranges: how to define and use in formulasApr 11, 2025 am 11:13 AM

This tutorial clarifies the function of Excel names and demonstrates how to define names for cells, ranges, constants, or formulas. It also covers editing, filtering, and deleting defined names. Excel names, while incredibly useful, are often overlo

Standard deviation Excel: functions and formula examplesStandard deviation Excel: functions and formula examplesApr 11, 2025 am 11:01 AM

This tutorial clarifies the distinction between standard deviation and standard error of the mean, guiding you on the optimal Excel functions for standard deviation calculations. In descriptive statistics, the mean and standard deviation are intrinsi

Square root in Excel: SQRT function and other waysSquare root in Excel: SQRT function and other waysApr 11, 2025 am 10:34 AM

This Excel tutorial demonstrates how to calculate square roots and nth roots. Finding the square root is a common mathematical operation, and Excel offers several methods. Methods for Calculating Square Roots in Excel: Using the SQRT Function: The

Google Sheets basics: Learn how to work with Google SpreadsheetsGoogle Sheets basics: Learn how to work with Google SpreadsheetsApr 11, 2025 am 10:23 AM

Unlock the Power of Google Sheets: A Beginner's Guide This tutorial introduces the fundamentals of Google Sheets, a powerful and versatile alternative to MS Excel. Learn how to effortlessly manage spreadsheets, leverage key features, and collaborate

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!