Excel : Conditional Formatting on a Chart

Deepanshu Bhalla Add Comment

This tutorial includes step-by-step guide for applying conditional formatting on a chart in Excel

Suppose you have been asked to create a chart containing high school students’ statistics score data and also having the students who scored greater than or equal to 35 as well as the students who scored between 24 and 34 and formatted them differently.

Click here to download the file

Highlighting values on the basis of 2 Criteria :

1. Greater than or equal to 35
2. Between 24 and 34

Steps to apply conditional formatting on a Chart

STEP 1 :
To accomplish this task you need to create 2 columns i.e. one for GE 35 criteria and other for values that are between 24 and 34.

create 2 columns for conditional formatting
STEP 2 : Put the below formula in cell D4 =IF(C4>35,C4,”NA”) It identifies all the values that meet criteria of greater than or equal to 35 and populates all the other cells with NA

STEP 3 : Same like above , put the below formula in cell E4 =IF(AND(C4>=24,C4<=35),C4,”NA”) It identifies all the values that meet criteria of greater than or equal to 35 and populates all the other cells with NA

STEP 4 : And then insert a chart and select data from cell B4 to E12 in chart data range.

insert a chart in Excel


Add 2 series and select D and E column for them and name them “Greater than 35″ and “24-35″ . Formatted them in different colors.

Conditional Formatting on a Chart

You can see that the NA values are hidden from the above chart because NA is treated as a zero value . As these data values change, the chart appears to apply conditional formatting.

Click on the link below to download the file.
Excel chart with conditional Formatting
Related Posts
Spread the Word!
Share
About Author:
Deepanshu Bhalla

Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 10 years of experience in data science. During his tenure, he worked with global clients in various domains like Banking, Insurance, Private Equity, Telecom and HR.

0 Response to "Excel : Conditional Formatting on a Chart "
← Prev