Skip to main content

Format your spreadsheet cells with Data Bars

 - You can format the cells on your spreadsheet so that they have bars in them, or even set up a range of numbers to have a colour scale. You can do all that with Conditional Formatting.
In the image below, we've formatted a set of sales figures so that the cells contain data bars:
Data BArs in an Excel cell
Create a new spreadsheet. In A1 enter the text heading January. Widen the A column and then enter any numbers you like in cells A2 to A7:
A simple Excel spreadsheet of one column
Now select the cells A2 to A7. From the Home ribbon at the top of Excel, locate the Styles panel and select the Conditional Formatting item. From the menu, select Data Bars. You'll then see some formatting options appear:
The Data Bars option on the Conditional Formatting menu
You can select a gradient fill for your bars, or a solid fill. Click on one of the Fills to see how it looks on your spreadsheet.
If you click on More Rules, you'll see the following dialogue box appear:
The New Formatting Rules dialogue box
Here, you can select from a wider range of colours by clicking on the Fill dropdown box at the bottom, under Bar Appearance:
The solid fill option for data bars
The Fill dropdown says Solid Fill. Click this dropdown and you can change it to Gradient Fill:
The Gradient Fill option
In the image above, green will be mixed with white to create a gradient colour. (You can't change the white as a gradient colour.)
To get a border colour for your bars, select Solid Border from the Border dropdown list:
The Solid Border option
Once you've selected Solid Border, click the colour square to the right of the dropdown. Select a new colour:
Select a colour for your Solid Border
Click OK on the dialogue box to see your new formatting applied:
Data Bars formatting for an Excel cell
If you have negative values in a cell, you'll see bars to the left and right of a zero point. In the image below, we have some values that are negative and positive:
Negative numbers in an Excel cell
When we add Data Bars conditional formatting, the cell will look like this:
Data Bars for negative numbers

In the next part, you'll see how colour scales can be applied to Excel cells.

Comments

Popular posts from this blog

PRATYUSHA HOME

Hi interesting readers, Prathysha NGO, Chennai. Bala gurukul orphange, chennai. Pratyusha support, Hyderbad. Krr oldage home, Vizag. Disa foundation.......................................................... so on..................... Join hands with us for a good cause. Thank you all. Contact  us on our  whatsapp no:  8939374254    for the more details. You can pay through Paytm scanner. for each donor we will give an online PDF book as a gift. Thank you Pratyusha Home
Javascript Tutorials for the Beginner - Welcome to the Home and Learn course for Javascript. Although it is aimed at complete beginners to the subject we do assume that you have some knowledge of HTML and a little CSS. You don't have to be an expert, though. Just the basics will do. (If you're not sure about the HTML then see our Web Design course.) You don't need to buy any software for this Javascript course - you probably already have everything you need to get started.   > Section One: Getting Started 1. Software needed 2. Our Javascript Templates 3. A little word about debugging Home Page > Section Two: The Browser 1. A First Script 2. Javascript Tag Placement 3. The Browser Object Model 4. Browser Window Methods 5. The Document Object Model > Section Three: Javascript Programming Basics 1. Javascript Variables 2. Math Operators 3. Operator Precedence 4. IF Statements 5. IF ... Else 6. Comparison Operators 7...
How to Enter Text and Numbers in a Cell  - To make a start, we'll create this really simple spreadsheet: All we're going to be doing here is entering some text and some numbers. We're not adding anything up yet. Before you tackle this first exercise, though, you may want to take note of the  Undo  feature, just in case you make a mistake. The Undo option is the left curved arrow, right in the top-left of your screen. This one for Excel 2007 users: And this one for Excel 2010 and Excel 2013 users: For later version, thie icon is this: Click the left curved arrow to Undo something, and click the right curved arrow to redo it. The Undo arrow also has a dropdown box. Click the small arrow next to Undo to see the following: This list is for multiple Undo's. Move your mouse down the list and click to undo several steps at once. But back to the spreadsheet. Click inside of cell A1 on your spreadsheet, and do the following: Type the word "Nu...