How to Set Different Colors to Separate Positive and Negative Number in Bar Chart

Sometimes we have both positive numbers and negative numbers exist in one table, for example to summarize the profit for one day. And if we create bar chart for this table, some bars are displayed above zero horizontal axis, and others are below this axis, they are displayed in different colors by default. If we want to set one color for positive number, and another color for negative number to make bar chart looks neatly, we can through Fill function in excel to implement this.

Precondition:

Prepare a table with both positive number and negative number. And create a bar chart for this table.

Set Different Colors to Separate Positive and Negative Number 1

We can see that there is only one color for all bars.

Method: Choose Different Colors to Separate Positive and Negative Number


Step 1: Select any bar, all other bars are activated at the same time.

Set Different Colors to Separate Positive and Negative Number 2

Step 2: Then right click to load menu, click ‘Format Data Series’.

Set Different Colors to Separate Positive and Negative Number 3

Step 3: In Format Data Series pane, click Fill & Line icon, then under Fill, check on Solid fill and Invert if negative, then in Color field, select ‘Blue’ in Fill Color dropdown list and ‘Red’ in Inverted Fill Color.

Set Different Colors to Separate Positive and Negative Number 4

Step 4: After above settings, you can find that all positive numbers are filled with blue, and negative numbers are filled with red properly.

Set Different Colors to Separate Positive and Negative Number 5

Related Posts

Filter Data by Column and Sort by Row
filter by column sort by row1

This post will guide you how to use the FILTER function to filter a value by column and then sort data by row in Microsoft Excel. You can use the following formula based on the SORT function in combination with ...

Filter And Transpose Data From Horizontal To Vertical
filter and transpose horizontal to vertical1

This post will show you how to use Filter function and in combination with Transpose function to filter data from horizontal and transpose data as vertical in Microsoft Excel. You can refer to the below general formula based on TRANSPOSE ...

VLOOKUP Formula | Faster Trick with 2 VLOOKUPS
Faster VLOOKUP with 2 VLOOKUPS1

This post will guide you how to use 2 VLOOKUPS function to looking up data entries from a given range of cells in Microsoft Excel. VLOOKUP with 2 lookups can be faster than a single VLOOKUP in certain scenarios. The ...

Extract Unique Items From A List
Extract Unique Items From A List In Excel1

This post will guide you how to extract unique itmes from a given list in Microsoft Excel. How to create a newly formula to get unique values from a range cells in Excel. The unique list of items is the ...

Extract substring In Excel
Extract substring In Excel1

This post will guide you how to use Excel's MID function is a quick and easy way to extract pieces from your text. Use the Excel formula to extract a substring with MID. Note: If you want to extract just ...

How to Use 3D SUM Multiple Worksheets
3D sum multiple worksheets1

To sum a range of numbers is straightforward for most Excel users, but do you know how to establish a 3D reference to total the same range of numerous sheets. In this post, I will present the steps for this ...

Extract all the matches with helper Column
how to extract all matches with helper column1

With Excel's powerful functions IF, INDEX, and MATCH, we can find exactly what you're looking for with a few clicks of the mouse. This step-by-step tutorial will show how easy it is to extract data using these tools and more! ...

If Cell is This Value or That Value

IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the result of logical test. If you want to see if a cell is A or B, and if one of ...

If Value is Greater Than A Certain Value
If Value is Greater Than A Certain Value 1

IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the logical test result. If you want to see if a value in one cell is greater than a specific value, ...

If Cell is Not Blank
If Cell is Not Blank 6

IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the result of created logical test. If you want to see if a cell is blank or not, and leave some ...

Sidebar