search
HomeTopicsexcelDetailed example of how to automatically add borders in Excel

This article brings you relevant knowledge about excel, which mainly introduces related issues about how to automatically add borders to tables. Let’s take a look at it together. I hope it will be helpful to everyone.

Detailed example of how to automatically add borders in Excel

Related learning recommendations: excel tutorial

Share an interesting and fun conditional formatting technique - after entering the content, let Excel automatically To add a border, let’s take a look at the effect first:

Detailed example of how to automatically add borders in Excel

As long as you enter content in column A, Excel will automatically add a border to the area in columns A~C of this row. When the data is cleared Finally, the border automatically disappears.

In fact, it is very simple to achieve such an effect:

Step 1

Select the A2:C100 cell range where you want to enter data, under the [Start] tab, and then Click [Conditional Formatting] → [New Rule] → [Use Formula...]

Enter the following formula in the formula edit box:

=$A2””

Step 2

Click the [Format] button, switch to [Border] in the pop-up [Format Cells] dialog box, then select a border color, and click the [Outer Border] button .

Finally click [OK] to close the dialog box.

Detailed example of how to automatically add borders in Excel

Step 3

No more...

A2 in the formula is the active cell of the selected range.

$A2 uses absolute references in the column direction and relative references in the row direction, which means that each cell in the selected area refers to column A of the current row to see if column A is not empty. If not, If empty, apply conditional formatting rules and add borders to the cells.

Related learning recommendations: excel tutorial

The above is the detailed content of Detailed example of how to automatically add borders in Excel. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:Excel Home. If there is any infringement, please contact admin@php.cn delete

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 Article

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

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

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)