Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to border cells based on cell values in Excel?

You may be familiar with adding colors for cells based on cell values, what if adding borders by cell values in Excel? This article is talking about adding borders for cells based on cell values with conditional formatting in Excel.

arrow blue right bubbleBorder cells based on cell values with Conditional Formatting in Excel

Supposing we have a sales table as following screen shot shown, and we need to border cells with amounts no less than 650 in Column E, and you can get it done as follows:

Step 1: Select the range where you want to border cells with amounts no less than 650. In our case, we select the Range E2:E24.

Step 2: Click the Conditional Formatting > New Rule on the Home tab.

Step 3: Now you get into the New Formatting Rule dialog box, and you need to:

(1) Click to highlight the Use a formula to determine which cells to format in the Select a Rule Type box;

(2) In the Format values where this formula is true box, enter the formula =E2>=650 (E2 is the first cell with amount in Column E);
(3) Click the Format button.

Step 4: In the coming Format Cells dialog box, go to the Border tab, specify a line style and line color in the Line section, click the Outline button in the Presets section, and click the OK button.

Step 5: Click the OK button in the New Formatting Rule dialog box.

Now you will see all cells with amounts no less than 650 are added red borders as below screen shot shown.

Recommended Productivity Tools for Excel

kte tab 201905

Kutools for Excel Helps You Always Finish Work Ahead of Time, and Stand Out From Crowd

  • More than 300 powerful advanced features, designed for 1500 work scenarios, increasing productivity by 70%, give you more time to take care of family and enjoy life.
  • No longer need memorizing formulas and VBA codes, give your brain a rest from now on.
  • Become an Excel expert in 3 minutes, Complicated and repeated operations can be done in seconds, 
  • Reduce thousands of keyboard & mouse operations every day, say goodbye to occupational diseases now.
  • 110,000 highly effective people and 300+ world-renowned companies' choice.
  • 60-day full features free trial. 60-day money back guarantees. 2 years of free upgrade and support.

Brings Tabbed Browsing and Editing to Microsoft Office, Far More Powerful Than The Browser's Tabs

  • Office Tab is designed for Word, Excel, PowerPoint and Other Office Applications: Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Ron · 1 years ago
    Good article. However, how to you make bold boxes based on cell values?
    • To post as a guest, your comment is unpublished.
      kelly001 · 1 years ago
      Hi Ron,
      What do you mean the “boxes”? checkboxes, or others?