How to Create a Multi-category Chart in Google Sheets

The multi-category chart contains categories and subcategories. You can create a multi-category chart in Google Sheets using either the Bar Chart or Column Chart.

Here in this tutorial, I am going to create a two-column multi-category chart – the first column contains the category, and of course, the second column the subcategory. There is a third column with numbers.

The multi-category chart in Google Sheets is not similar to the chart that you can create in Excel. But there are similarities.

To create a chart with multiple categories and subcategories, you should know how to format the chart data.

Before that, let’s see how the multiple category and subcategory chart varies in Excel and Google Sheets.

Excel:

multiple categories in charts in Excel

Google Sheets:

multiple categories in charts in Google Sheets

In these charts, “Cable,” “Transformer,” and “Street Lighting Pole” are categories, and “Laying,” “Testing,” etc., are subcategories.

I like the first multi-category chart that I have created in Excel. In Google Sheets, there is no way to create a chart that matches that. You have to get satisfied with the existing one.

Now, you can learn how to create a multi-category chart in Google Sheets.

Steps to Create a Multi-category Chart in Google Sheets

A well-formatted data, I mean, the proper arrangements of values in rows and columns, is the essence of every chart.

Here is the data for the above chart. You should format your data as per this sample.

data formatting for two column multiple category charts

The first column should contain the category followed by the subcategory and the values.

I have put percentage values in the third column. It indicates job percentage. That means each category has values of 100% that are distributed to subcategories.

Such distribution is not necessary, though. You can put any number straightaway like this.

Here you can see some veg and non-veg items and their price. This data is also suitable for creating a multi-category chart in Google Sheets.

Once you have formatted your data, as shown above, you can start the procedure to create the chart.

Steps:-

  1. Select your data.
  2. Go to the menu “Insert” and click on “Chart.”
  3. Within the Chart editor panel, select “Bar chart” under Setup > Chart type.
bar chart in Google Sheets with multiple categories

That’s all. This way you can easily create a multi-category chart in Google Sheets. Enjoy!

Sample_Sheet_6122

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

Lookup Values Under Categories in Excel and Google Sheets

We can use a combination of XLOOKUP and VLOOKUP in both Excel and Google...

Extract Items Under a Category from the Same Column in Excel

In Excel, you can use a combination of the XLOOKUP and DROP functions to...

How to Create a Searchable Table in Excel Using the FILTER Function

Finding specific records, or rows containing the required information, is straightforward in Excel using...

Time Sequences in Excel by Minute, Hour, or Second Increments

Creating time sequences, whether by hour, minute, or second increments in Excel, can be...

More like this

XMATCH Row by Row: Finding Values Across a Range in Google Sheets

Using the BYROW function with XMATCH in Google Sheets allows us to match values...

Limit Formula Expansion to a Specific Row in Google Sheets

In this tutorial, I’ll explain how to limit the expansion of an array formula...

3-D Referencing Structured Data Tables in Google Sheets

When you have several tables within a single sheet—not across multiple sheets in a...

4 COMMENTS

  1. Here is a google sheet data I would like to chart. I can not seem to find a way to make a chart.

    Each person has three test results in three different categories, i.e., Person 1 has three tests (UA1, UA2, 18W) in the “Approach” category.

    A line chart would be nice, but a bar would do.

    Thanks for your help.

    Category >> | Approach |Meet |Master |
    Tests >> |UA1 UA2 18W |UA1 UA2 18W |UA1 UA2 18W |
    Person 1 |41 41 60 |31 14 18 |7 7 4 |
    Person 2 |28 49 59 |3 16 14 |0 3 1 |
    Person 3 |40 24 49 |16 8 17 |5 3 3 |
    Person 4 |58 71 62 |16 36 34 |7 14 14 |

    • Hi, everett,

      You just transpose your data and create the chart.

      If it’s in A1:J6, you can use the following formula in cell A10 for the chart.

      =TRANSPOSE(A1:J6)

      I’ve included a sample sheet with your data and my suggested chart. Please check the end of the tutorial.

  2. Unsure if this is the right spot, but I have a graphing/charting question/issue.

    I have 3 sets of data in one table, all dependent on one variable.

    When one variable is chosen, the associated data set populates, leaving the other 2 blanks (or with zero, I’ve tried it several ways).

    The intent was to have a combo chart. Stacked 100% and vertical column (non-stacked) with graphs only appearing for visible data when the variable is chosen.

    However, Google Sheets seems to forget my choices or throw errors or simply go blank after I format the graph and test the other variables. Is there a way to fix this??

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.