Reducing the Width of Columns in Column Charts in Google Sheets

How can we reduce the width of columns in a column chart in Google Sheets? Is there any “Gap Width” setting available similar to Excel?

In Excel, there is an option to control the gap width of columns in a column chart using a series option. However, this feature is not available in Google Sheets.

In Google Sheets, we can follow a workaround to adjust the gap width and thus reduce the column width in a chart.

Sample Data:

The following sample data consists of scores from three players (A, B, C) in a game over three attempts. The data range is A1:D4.

Score 1Score 2Score 3
A555
B10510
C555

Let’s first understand the gap width settings in Excel, then we’ll explore how to achieve a similar output using a workaround in Google Sheets.

Column Gap Width Settings in an Excel Chart

Since creating a column chart is a familiar step, let’s focus on reducing column width.

To control the gap width, follow these steps:

  1. Click on any column within the chart.
  2. Drag the slider under the ‘Gap width’ to the right.

This method allows us to reduce the column width in Excel. Now, let’s explore the workaround in Google Sheets.

Reducing Column Width in Google Sheets Column Chart (Gap Width Workaround)

Here’s a trick to reduce column width in a column chart: Add two blank columns before the first series and after the last series in your source data. You can achieve this using a simple HSTACK and IFNA combo formula.

For your sample data: We’ll assume it’s in ‘Sheet1’ with categories in A1:A4 and series data in B1:D4. We’ll insert two blank columns filled with zeros before column B and after column D.

Generic Formula:

IFNA(HSTACK(category_range, , , series_range, ,), 0)

For the sample data, use this formula in cell A1 of a new sheet:

=IFNA(HSTACK(Sheet1!A1:A4, , , Sheet1!B1:D4, ,), 0)

Output:

Score 1Score 2Score 3
A0056359000
B0025304500
C0040104000

Let’s see how this workaround reduces the column width of a column chart in Google Sheets.

To insert a column chart:

  1. Select the array A1:H4 (returned by the above formula).
  2. Click Insert > Chart.
  3. Inside the Chart Editor sidebar panel:
    • Under Setup, select chart type ‘Column chart’ (if not already selected).
    • Under Customize, under ‘Legends’, select ‘None’ (Legend Position).

Now, you can see the columns are much thinner.

Reduce the Width of the Columns in a Column Chart in Google Sheets

To control the gap width in the column chart:

Adjust the arguments in the formula. Add or remove the comma argument separator (highlighted in the formula) to increase or decrease the gap width of columns. This will impact the size of columns in the column chart.

Drawbacks of the Gap Width Workaround in a Column Chart

The above workaround has two drawbacks. The first one is creating a helper range specifically for the chart, and the second one is omitting “Legends.”

As you can see, I’ve disabled the “Legends” as it may add legends for the blank columns we added.

Resources

  1. Get a Target Line Across a Column Chart in Google Sheets
  2. Bar or Column Chart with Red Colors for Negative Bars in Google Sheets
  3. Adding Mean and Standard Deviation Lines on a Column Chart in Google Sheets
  4. Floating Column Chart in Google Sheets – How to
  5. Add Legend Next to Series in Line or Column Chart in Google Sheets
  6. Google Sheets Bar and Column Chart with Target Coloring
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.

How to Extract Numbers from Text in Excel with Regex

You can use the REGEXEXTRACT or REGEXREPLACE functions to easily extract numbers from text...

Using OFFSET and MATCH Together in Google Sheets: Advanced Tips

One powerful and flexible way to look up values is by combining the OFFSET...

How to Use OFFSET and XMATCH Functions Together in Excel

We often use the OFFSET and XMATCH functions together to match a value in...

How to Calculate Maximum Drawdown in Excel and Google Sheets

You can use the following dynamic array formula to calculate maximum drawdown (MDD) in...

More like this

Using OFFSET and MATCH Together in Google Sheets: Advanced Tips

One powerful and flexible way to look up values is by combining the OFFSET...

Running Count with Structured References in Google Sheets

Running a count with structured references is achievable in Google Sheets tables using the...

Running Total with Structured Table References in Google Sheets

You can use two types of formulas to create a running total with structured...

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.