How to Fix Vertical Lines in Excel Cells After Applying Data Bars
Question details
The user is experiencing unexpected vertical lines appearing in Excel cells after applying data bars through conditional formatting.

- 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.
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.
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.
Highlight the specific cells or column containing the problematic data bars.
Navigate to the Home tab on the ribbon, click on Conditional Formatting, and select Manage Rules from the dropdown menu.
Locate and select your Data Bar rule in the list, then click the Edit Rule button.
Under the Bar Appearance section, change the Border setting dropdown to 'No Border' and click OK to apply the changes.
If the issue persists, go to File > Account > Update Options and select Update Now to ensure you have the latest bug fixes.

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. Download and install WPS Office: Visit the official WPS website to download the free installation package and complete the quick setup process.
- 2. Open your Excel file: Launch WPS Spreadsheet and open your existing .xlsx file that contains the data bars.
- 3. View your conditional formatting: WPS Spreadsheet will accurately display your data bars without the unwanted vertical lines or cross-platform rendering glitches.

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.




