In the previous article "Sharing practical Excel skills: How to quickly search and replace" we learned how to quickly search and replace using Excel combined with Word for collaborative office work. The following article will introduce you to an Excel technique to see how to quickly create a two-color chart. Come and collect it and learn it!

In Excel, our common charts include area charts, bar charts, column charts, line charts, donut charts, etc. I will share it with you in the future.
Today, let’s take a look at a two-color column chart case: Excel stacked column chart production.
The data source is the sales performance of each employee in the sales department.

Now you need to use charts to show who's performance is higher than the average performance and who's performance is lower than the average performance.
Xiaoya uses a stacked column chart to present it. Those above the average are shown in blue, and those below the average are shown in red.

#The chart above is actually relatively simple. I wonder if you can make it?
The idea of making a stacked column chart in excel is as follows:
First, use the auxiliary column to get the data above and below the average.
Enter the formula in cell C2: =IF(B2>AVERAGE(B$2:B$7),B2,NA())
Cell D2 Enter the formula: =IF(B2>AVERAGE(B$2:B$7),NA(),B2)
Formula explanation: First use the AVERAGE function to calculate the value in cells B2:B7 The average, and then use the IF function to make a judgment. If the value of B2 is greater than the average, return the value of B2 itself, otherwise return the error value #N/A.
Special Note: The role of #N/A in the chart is to occupy space.
Second, select the area to be charted and insert a stacked column chart.
Select A1:A7, then hold down the Ctrl key, and then select C1:D7. Insert a stacked column chart.
Third, set the chart parameters
Select the chart grid line and press the Delete key to delete it.
Double-click any column in the chart and set the category spacing to about 50% to make the chart look fuller.
Change the data series color and fill chart background color.
Finally, the animation demonstration diagram produced by the chart is attached for your reference and study:

Related study recommendations: excel tutorial
The above is the detailed content of Practical Excel skills sharing: quickly create two-color charts. For more information, please follow other related articles on the PHP Chinese website!
MEDIAN formula in Excel - practical examplesApr 11, 2025 pm 12:08 PMThis tutorial explains how to calculate the median of numerical data in Excel using the MEDIAN function. The median, a key measure of central tendency, identifies the middle value in a dataset, offering a more robust representation of central tenden
Google Spreadsheet COUNTIF function with formula examplesApr 11, 2025 pm 12:03 PMMaster Google Sheets COUNTIF: A Comprehensive Guide This guide explores the versatile COUNTIF function in Google Sheets, demonstrating its applications beyond simple cell counting. We'll cover various scenarios, from exact and partial matches to han
Excel shared workbook: How to share Excel file for multiple usersApr 11, 2025 am 11:58 AMThis tutorial provides a comprehensive guide to sharing Excel workbooks, covering various methods, access control, and conflict resolution. Modern Excel versions (2010, 2013, 2016, and later) simplify collaborative editing, eliminating the need to m
How to convert Excel to JPG - save .xls or .xlsx as image fileApr 11, 2025 am 11:31 AMThis tutorial explores various methods for converting .xls files to .jpg images, encompassing both built-in Windows tools and free online converters. Need to create a presentation, share spreadsheet data securely, or design a document? Converting yo
Excel names and named ranges: how to define and use in formulasApr 11, 2025 am 11:13 AMThis tutorial clarifies the function of Excel names and demonstrates how to define names for cells, ranges, constants, or formulas. It also covers editing, filtering, and deleting defined names. Excel names, while incredibly useful, are often overlo
Standard deviation Excel: functions and formula examplesApr 11, 2025 am 11:01 AMThis tutorial clarifies the distinction between standard deviation and standard error of the mean, guiding you on the optimal Excel functions for standard deviation calculations. In descriptive statistics, the mean and standard deviation are intrinsi
Square root in Excel: SQRT function and other waysApr 11, 2025 am 10:34 AMThis Excel tutorial demonstrates how to calculate square roots and nth roots. Finding the square root is a common mathematical operation, and Excel offers several methods. Methods for Calculating Square Roots in Excel: Using the SQRT Function: The
Google Sheets basics: Learn how to work with Google SpreadsheetsApr 11, 2025 am 10:23 AMUnlock the Power of Google Sheets: A Beginner's Guide This tutorial introduces the fundamentals of Google Sheets, a powerful and versatile alternative to MS Excel. Learn how to effortlessly manage spreadsheets, leverage key features, and collaborate


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

Notepad++7.3.1
Easy-to-use and free code editor

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Dreamweaver CS6
Visual web development tools






