Chart & Visualization Issues

How to Fix Vertical Lines in Excel Cells After Applying Data Bars

Elise WilliamsElise Williams Nov 3, 2026 870 views

Question details

The user is experiencing unexpected vertical lines appearing in Excel cells after applying data bars through conditional formatting.

Fixing Vertical Lines in Excel Cells After Applying Data Bars
Product
Microsoft Excel
Device & OS
Windows and macOS
Scenario
Applying conditional formatting data bars to visualize cell data.
Observed behavior
Unwanted vertical lines render inside the cells, and this visual glitch behaves differently depending on whether Excel for Windows or Excel for Mac is used.
Before you start

Check whether you are using Excel for Windows or Excel for Mac, and ensure your Office application is updated to the latest version, as rendering glitches are often patched in newer releases.

Solution 1Recommended

Modify Conditional Formatting Settings and Update Excel

Adjusting the border settings in the data bar rules or updating Excel can often resolve visual rendering glitches like unwanted vertical lines.

Because Excel handles graphical rendering slightly differently on Windows and Mac, border settings applied to data bars may cause unintended visual artifacts on one platform but not the other.

1
Select formatted cells

Highlight the specific cells or column containing the problematic data bars.

2
Open the rules manager

Navigate to the Home tab on the ribbon, click on Conditional Formatting, and select Manage Rules from the dropdown menu.

3
Edit the data bar rule

Locate and select your Data Bar rule in the list, then click the Edit Rule button.

4
Remove the border

Under the Bar Appearance section, change the Border setting dropdown to 'No Border' and click OK to apply the changes.

5
Update Microsoft Excel

If the issue persists, go to File > Account > Update Options and select Update Now to ensure you have the latest bug fixes.

Modify Conditional Formatting Settings and Update Excel
Platform Differences: If a file created on Windows looks incorrect on a Mac, you may need to consult platform-specific Microsoft support communities as the underlying rendering engines differ.
Free Microsoft Office alternative

Use WPS Office for Flawless Data Visualization

If you continue experiencing visual glitches like vertical lines in Microsoft Excel, consider switching to WPS Office. It provides a lightweight, highly compatible spreadsheet environment that flawlessly renders conditional formatting and data bars without platform-specific bugs.

  1. 1. Download and install WPS Office: Visit the official WPS website to download the free installation package and complete the quick setup process.
  2. 2. Open your Excel file: Launch WPS Spreadsheet and open your existing .xlsx file that contains the data bars.
  3. 3. View your conditional formatting: WPS Spreadsheet will accurately display your data bars without the unwanted vertical lines or cross-platform rendering glitches.
Fully compatible with Microsoft Excel formats (.xlsx, .xls) and conditional formatting rules.Free to use with a lightweight installation that won't slow down your computer.Consistent rendering of data bars and charts across different operating systems.Familiar, intuitive user interface for a seamless transition from Microsoft Office.
microsoft office alternative - wps office

Frequently Asked Questions

Why do data bars in Excel show unexpected vertical lines?

This is often a visual rendering glitch caused by having a solid border applied to the data bar in the conditional formatting settings. It can also occur due to graphic driver incompatibilities or zoom level artifacts.

Does conditional formatting look different on Mac versus Windows?

Yes, because Excel for Mac and Excel for Windows use different rendering engines, advanced visual features like data bars and specific border styles may display slightly differently across the two platforms.

How can I remove borders from my data bars in Excel?

Highlight your formatted cells, navigate to Conditional Formatting > Manage Rules, edit the specific data bar rule, and set the Border dropdown under Bar Appearance to 'No Border'.

Will updating Excel fix visual glitches with conditional formatting?

Yes, Microsoft frequently releases patches for known display issues. Updating your Office suite to the latest version via Account > Update Options can often resolve unwanted lines and artifacts.