How to Create a Stacked Bar Graph in Excel Quickly

Learn how to create a stacked bar graph in Excel to transform raw data into clear visuals for reports and analysis. When chart creation and data organization become time-consuming, Kimi Sheets helps streamline the workflow and makes generating insights easier with AI support.Try it now
10 min readยท2026-04-29
How to create a stacked bar graph in Excel

Working with raw data in Excel can be time-consuming, especially when you need quick insights. A stacked bar graph makes comparisons clearer and easier to read. Tools such as Kimi Sheets can help organize your data and speed up analysis. Read on to learn how to create a stacked bar graph in Excel manually and using AI.

Table of contents

Overview of stacked bar charts in Excel: Manual and AI options

Creating a stacked bar chart in Excel can be done in different ways depending on your needs. Some users prefer full manual control using Excel tools like Pivot Tables, while others go for faster AI solutions. Both aim to turn raw data into useful visuals for better analysis. Here's a quick overview of both methods:

MethodHow it worksKey benefitBest for
AI (Kimi Sheets)Upload data and use simple prompts to generate charts, formulas, and clean datasets automaticallySaves time by automating data preparation and chart creation using Kimi SheetsFast reporting, large datasets, quick insights
Manual (Pivot Table method)Data is organized using Pivot Tables, then converted into a stacked bar chart through Excel's Insert optionsFull control over data structure and chart designReports, academic work, detailed analysis

How to make a stacked bar graph in Excel with AI

Kimi Sheets is an AI-powered spreadsheet tool that lets you create charts and analyze data with simple instructions. It can quickly turn messy datasets into clean, organized tables ready for use. The tool builds stacked bar graphs, uses formulas like VLOOKUP and XLOOKUP, and gets your data ready for charts. It can also make charts, including stacked bar graphs, in just a few steps.

Step 1: Upload your Excel and enter the prompt

Open Kimi online and click on "Sheets". Upload your Excel file using the + icon, then enter a clear prompt describing the analysis you need, including stacked bar charts and valuation goals.

  • Example prompt:
Analyze 20 years of Bordeaux En Primeur data and build an Excel valuation model with climate-based regression to predict scores from historical weather patterns. Perform statistical analysis of pricing trends, vintage performance, and score volatility. Create stacked bar charts to show price composition, vintage contribution, and score distribution.

Upload your Excel and enter the prompt

Step 2: Let Kimi process and analyze your data

The AI will clean your dataset, apply formulas, and automatically generate insights such as trends, regression outputs, and stacked bar charts.

Let Kimi process and analyze your data

Step 3: Download Excel

Once the analysis and charts are complete, preview and download the final Excel file with all processed data, formulas, and generated visualizations.

Download Excel

Key features of Kimi Sheets

  • Auto bar graph creation: Kimi Sheets can create stacked bar graphs automatically from your data without manual setup. You simply describe the chart you need, and it generates the visual with correct data grouping and structure.
  • Smart layout adjustment and editing: The tool adjusts chart layout, spacing, and alignment based on your data. It also refines labels, titles, and positioning to make the graph clean and easy to read, improving clarity and presentation quality for reports.
  • Multi-format understanding: Kimi's AI for Excel can work with data from different formats, like Excel files, CSV, or copied tables. It understands the structure and converts everything into a usable format without extra effort, ensuring smooth data integration across different sources.
  • AI-powered formula building: It generates formulas like VLOOKUP, XLOOKUP, and SUM automatically based on your needs. This removes the need to remember complex syntax and reduces the chances of errors, making calculations faster and more accurate overall.
  • Automated data analysis: The tool quickly analyses your dataset to find trends, comparisons, and summaries. This helps you understand the data before turning it into a stacked bar graph, giving better insights and supporting smarter decision-making.
  • Detailed visual customization: Kimi Sheets lets you adjust colors, labels, legends, and chart styles with ease. This helps you create charts that are not only accurate but also clear and visually appealing, making your reports look more professional and engaging.

How to create a stacked bar chart in Excel manually

Making a stacked bar chart in Excel becomes much easier when your data is handled in a structured way. Using Pivot Tables helps you organize large datasets and quickly turn them into clear visuals. This approach is useful when you want better control over how your data is grouped and displayed. Here's how to create a stacked bar in Excel with this approach.

Step 1: Select your dataset

First, select the entire dataset you want to use. Check that your data is clean, with clear headings and no empty rows or columns. Well-organized data helps Excel recognize categories correctly and avoids mistakes when making your chart.

Select your dataset

Step 2: Insert a pivot table

Go to the "Insert" tab and click the stacked bar chart to make a new pivot table. You can choose to put it in a new worksheet or keep it in the same one. This step helps you organize and summarize your data before you create a chart.

Insert a pivot table

Step 3: Sort and filter your data

Use the sorting and filtering tools in the pivot table to organize your data in a way that makes sense. You can sort values from smallest to largest or filter out certain categories. This helps make your chart clearer and highlights key trends or comparisons.

Sort and filter your data

Step 4: Customize calculations and layout

Adjust value settings, such as sum or average, based on your needs. Then format the pivot table layout to improve readability. After that, insert a stacked bar chart from the "Insert" tab and customize colors, labels, and legends to make the chart easy to understand.

Customize calculations and layout

Handling data manually can still take time, especially when you're working with large or messy datasets. This is where Kimi Sheets comes in, helping you organize data and spot patterns much faster. It reduces the effort needed to prepare and analyze information before creating charts. As a result, the whole process of building stacked bar graphs becomes quicker and smoother.

Smart tips for creating a stacked bar graph in Excel

Creating clear and effective charts is not only about inserting a graph but also about properly preparing your data. Small improvements in structure and design can make a big difference in readability. These tips will help you create bar charts with better accuracy and presentation:

  • Prepare clean, structured data

Clean and well-organized data is the foundation of a good chart. Make sure your table has no blank cells, mixed formats, or confusing entries. When data is structured properly, creating a stacked bar chart in Excel becomes much smoother and more reliable.

  • Use consistent category labels

Consistent naming helps Excel group your data correctly without errors. All labels should follow the same spelling, spacing, and format throughout the dataset. This keeps your chart accurate and avoids misinterpretation during analysis.

  • Choose the correct stacked format

Excel offers options such as stacked bar and 100% stacked bar, each serving a different purpose. Pick the format based on whether you want actual values or a percentage-based comparison. The right choice makes your visuals more meaningful and easier to understand.

  • Avoid too many segments

Too many categories in one bar can make the chart cluttered and hard to read. It's better to group or simplify data where possible. A cleaner design helps make a stacked bar graph look more professional, clear, and visually balanced.

  • Keep colors visually distinct

Each segment should have a distinct color, so viewers can easily distinguish between categories. Avoid similar shades that blend into each other and reduce clarity. Good color contrast significantly improves readability and overall presentation quality.

  • Add clear axis titles

Axis titles explain what the chart is showing and guide the viewer through the data. Keep them short, simple, and relevant to the dataset. This step improves understanding and supports better interpretation of results in reports and presentations overall.

  • Include readable data labels

Data labels help viewers see exact values without guessing from the bars. Keep them clean, well-placed, and not overcrowded. This makes the chart more useful, especially when sharing results in reports or presentations professionally.

When to use a stacked bar chart in Excel

Choosing the right chart makes your data easier to understand and present. A stacked bar graph is useful when you want to show both the total and its parts in a single view. Knowing when to use a stacked bar chart in Excel helps you present data clearly and avoid confusion.

  • Category comparison

A stacked bar chart in Excel is useful for comparing different categories along with their sub-parts in one visual. It shows both individual values and total performance in a single chart. This makes the comparison clearer and more meaningful for analysis.

  • Part to whole

This type of chart is helpful when you want to show how different parts add up to a total value. Each segment of the bar represents a part of the whole dataset. You can use a stacked bar in Excel to clearly show each category's contribution.

  • Time-based tracking

A stacked bar chart helps track changes over time while showing category breakdowns. It shows how each segment increases or decreases over time. This makes trend analysis simple, easy to understand, and easy to interpret.

  • Multiple data groups

This chart is perfect for showing multiple data groups in a single, clear visual. It combines different datasets but keeps them separated within the same bar. You can use a stacked bar graph in Excel to compare groups, such as departments or regions.

  • Trend distribution

A stacked bar chart shows how trends are distributed across different segments over time. It helps identify which parts contribute more or less to the total. This improves clarity in pattern recognition, data analysis, and decision-making.

Conclusion

Learning how to make a stacked bar graph in Excel makes data analysis much simpler and more useful in real work. It helps turn raw numbers into clear visuals that are easier to understand and share. Whether you choose manual steps or AI support, the goal is to save time and improve accuracy in your charts. With the right approach, even complex datasets start to feel manageable and meaningful. For a faster, smarter experience, try Kimi Sheets, which reduces manual effort and improves results.

FAQ

What are stacked bar graphs?
A stacked bar graph is a chart that displays both the total value and its individual components within a single bar. Each segment represents a category and shows how it contributes to the overall value. This makes it easier to compare proportions and understand the composition of different data groups in a clear visual format.
Can I have a stacked column and a clustered column on the same chart?
Yes, Excel supports combination charts, which allow you to mix stacked and clustered columns in a single chart. This is useful when you need to compare grouped values while also showing part-to-whole relationships. You can achieve this by assigning different chart types to each data series within the same chart setup.
How to make a bar chart with two sets of data?
You can create a bar chart with two datasets by selecting both data ranges and inserting either a clustered or stacked bar chart, depending on how you want to compare the values. Excel will display the datasets side by side or combined in one bar. Clear labeling of each dataset is important to ensure easy comparison and readability.
How to make a stacked bar graph in Excel with 3 variables?
To create a stacked bar graph with three variables, organize your data so that each variable is placed as a separate series under the same category. When inserted as a stacked bar chart, each variable appears as a segment within the same bar, showing its contribution to the total. This method is useful for comparing multiple layers of data within one visual structure.