search
HomeSoftware TutorialOffice SoftwareHow to find and filter out the first and last non-null value in a sequence in Excel

How to find and filter out the first and last valid values ​​of a sequence in excel

In this example, the Chinese scores above 120 points will be highlighted with a red circle. On-screen operation steps:

Step 1: Open the score table → select the Chinese score → click the "Data" button on the menu bar → select "Validity".

Step 2: Open the "Data Validity" dialog box and select "Integer" as the allowed data type. Select "Between" below the data box, set the minimum value to 0 and the maximum value to 120, and finally click OK.

Step 3: Click the "Tools" button on the menu bar → select "Formula Review" → select to display the "Formula Review" toolbar.

Step 4: Click the "Circle Invalid Data" button.

In this way, those whose Chinese scores are above 120 points will be circled with a red circle, which plays a role of highlighting.

But these circles can only be displayed on the computer and cannot be printed. Some teachers want to print it out. After exploration, the author found a feasible method. I will explain this method below.

Print operation steps:

Step 1: Select the table → Hold down the Shift key and click the "Edit" button on the menu bar → Select "Copy Picture" → OK.

Step 2: Click the "Edit" button on the menu bar → choose to paste the image → delete the original data table → adjust the position of the copied data table.

Note: Always hold down the Shift key during the first and second steps, otherwise the operation will not be successful.

How to find and filter out the first and last non-null value in a sequence in Excel

How to filter data in excel

Excel provides two data filtering operations, namely "Automatic Filtering" and "Advanced Filtering".

"Auto filter" is generally used for simple condition filtering. When filtering, data that does not meet the conditions will be temporarily hidden and only data that meets the conditions will be displayed.

"Advanced filtering" is generally used for filtering operations with more complex conditions. The filtered results can be displayed in the original data table, and records that do not meet the conditions are hidden; the filtered results can also be displayed in a new location, and the records that do not meet the conditions can also be displayed in a new location. The records of the conditions are retained in the data table at the same time without being hidden, which makes data comparison easier.

, "Auto Filter" is generally used for filtering operations with simple conditions. Records that meet the conditions are displayed in the original data table. The operation is relatively simple, and beginners are also familiar with "Auto Filter". If you want to filter multiple conditions in an "OR" relationship, or you need to display the filtered results in a new location, you can only use "Advanced Filtering" to achieve this. Under normal circumstances, the operations that can be completed by "Auto Filter" can be completely achieved by using "Advanced Filter", but some operations are not suitable for "Advanced Filter", which will make the problem more complicated, such as filtering the largest or smallest filter. Several records.

When solving problems such as data screening in actual operations, as long as we grasp the key to the problem and choose simple and correct operating methods, the problem can be easily solved.

The above is the detailed content of How to find and filter out the first and last non-null value in a sequence in Excel. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:Excel办公网. If there is any infringement, please contact admin@php.cn delete
Microsoft 365 Will Turn Off ActiveX, Because Hackers Keep Using ItMicrosoft 365 Will Turn Off ActiveX, Because Hackers Keep Using ItApr 12, 2025 am 06:01 AM

Microsoft 365 is finally phasing out ActiveX, a long-standing security vulnerability in its Office suite. This follows a similar move in Office 2024. Beginning this month, Windows versions of Word, Excel, PowerPoint, and Visio in Microsoft 365 will

How to Use Excel's AGGREGATE Function to Refine CalculationsHow to Use Excel's AGGREGATE Function to Refine CalculationsApr 12, 2025 am 12:54 AM

Quick Links The AGGREGATE Syntax

How to Use the PIVOTBY Function in ExcelHow to Use the PIVOTBY Function in ExcelApr 11, 2025 am 12:56 AM

Quick Links The PIVOTBY Syntax

How to Format a Spilled Array in ExcelHow to Format a Spilled Array in ExcelApr 10, 2025 pm 12:01 PM

Use formula conditional formatting to handle overflow arrays in Excel Direct formatting of overflow arrays in Excel can cause problems, especially when the data shape or size changes. Formula-based conditional formatting rules allow automatic formatting to be adjusted when data parameters change. Adding a dollar sign ($) before a column reference applies a rule to all rows in the data. In Excel, you can apply direct formatting to the values ​​or background of a cell to make the spreadsheet easier to read. However, when an Excel formula returns a set of values ​​(called overflow arrays), applying direct formatting will cause problems if the size or shape of the data changes. Suppose you have this spreadsheet with overflow results from the PIVOTBY formula,

You Need to Know What the Hash Sign Does in Excel FormulasYou Need to Know What the Hash Sign Does in Excel FormulasApr 08, 2025 am 12:55 AM

Excel Overflow Range Operator (#) enables formulas to be automatically adjusted to accommodate changes in overflow range size. This feature is only available for Microsoft 365 Excel for Windows or Mac. Common functions such as UNIQUE, COUNTIF, and SORTBY can be used in conjunction with overflow range operators to generate dynamic sortable lists. The pound sign (#) in the Excel formula is also called the overflow range operator, which instructs the program to consider all results in the overflow range. Therefore, even if the overflow range increases or decreases, the formula containing # will automatically reflect this change. How to list and sort unique values ​​in Microsoft Excel

How to Create a Timeline Filter in ExcelHow to Create a Timeline Filter in ExcelApr 03, 2025 am 03:51 AM

In Excel, using the timeline filter can display data by time period more efficiently, which is more convenient than using the filter button. The Timeline is a dynamic filtering option that allows you to quickly display data for a single date, month, quarter, or year. Step 1: Convert data to pivot table First, convert the original Excel data into a pivot table. Select any cell in the data table (formatted or not) and click PivotTable on the Insert tab of the ribbon. Related: How to Create Pivot Tables in Microsoft Excel Don't be intimidated by the pivot table! We will teach you basic skills that you can master in minutes. Related Articles In the dialog box, make sure the entire data range is selected (

How to Use the GROUPBY Function in ExcelHow to Use the GROUPBY Function in ExcelApr 02, 2025 am 03:51 AM

Excel's GROUPBY function: Powerful data grouping and aggregation tools Excel's GROUPBY function allows you to group and aggregate data based on specific fields in a data table. It also provides parameters that allow you to sort and filter the data so that you can customize the output to your specific needs. GROUPBY function syntax The GROUPBY function contains eight parameters: =GROUPBY(a,b,c,d,e,f,g,h) Parameters a to c are required: a (row field): A range (one column or multiple columns) containing the value or category to which the data is grouped. b (value): The range of values ​​containing aggregated data (one column or multiple columns).

Don't Hide and Unhide Columns in Excel—Use Groups InsteadDon't Hide and Unhide Columns in Excel—Use Groups InsteadApr 01, 2025 am 12:38 AM

Excel efficient grouping: say goodbye to hidden columns and embrace flexible data management! While hidden columns can temporarily remove unnecessary data, grouping columns are often a better choice when dealing with large data sets or pursuing flexibility. This article will explain in detail the advantages and operation methods of Excel column grouping to help you improve data management efficiency. Why is grouping better than hiding? Hiding columns (right-click on the column title and select "Hide") can easily lead to data forgetting, even the column title prompt is not reliable because the title itself can be deleted. In contrast, grouped columns are faster and more convenient to expand and fold, which not only improves work efficiency, but also enhances user experience, especially when multi-person collaboration. Additionally, grouping columns allow creation of subgroups, which cannot be achieved by hidden columns. This is the number

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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

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

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),