How to Create a 2D Clustered Column Chart in Excel – 2 Methods


This is the sample dataset.

Easy Ways to Create a 2D Clustered Column Chart in Excel

Method 1 – Creating a Data Set to Create a 2D Clustered Column Chart

Step 1:

  • Select your entire dataset. Here, B4:D10.

Easy Ways to Create a 2D Clustered Column Chart in Excel

Step 2:

  • Go to the Insert.
  • Select Insert Column or Bar Chart in Chart.

Easy Ways to Create a 2D Clustered Column Chart in Excel

Step 3:

  • In 2-D Column, choose Clustered Column.

Easy Ways to Create a 2D Clustered Column Chart in Excel

Step 4:

  • The 2D clustered column chart is created.

Easy Ways to Create a 2D Clustered Column Chart in Excel

Step 5:

  • In Style, format the chart.

Easy Ways to Create a 2D Clustered Column Chart in Excel

  • This is the output.

Easy Ways to Create a 2D Clustered Column Chart in Excel

Read More: How to Insert a Clustered Column Chart in Excel


Method 2 – Applying VBA to Create a 2D Clustered Column Chart

Step 1:

  • Select the following dataset.

Easy Ways to Create a 2D Clustered Column Chart in Excel

Step 2:

  • Go to the Developer tab.
  • Choose Visual Basic in Code.

Easy Ways to Create a 2D Clustered Column Chart in Excel

Step 3:

  • Choose Module in the Insert tab.

Easy Ways to Create a 2D Clustered Column Chart in Excel

Step 4:

  • Enter the following VBA Code into the Module.
Sub Create_a_2D_Clustered_Column_Chart()
'Declare range of selection
Range("B4:D10").Select
ActiveSheet.Shapes.AddChart.Select
'Set the data source
ActiveChart.SetSourceData Source:=Range("'VBA'!$B$4:$D$10")
'define the chart type
ActiveChart.ChartType = xlColumnClustered
'declare activation command
ActiveSheet.ChartObjects(1).Activate
ActiveSheet.ChartObjects(1).Cut
'define the chart destination
Sheets("VBA").Select
ActiveSheet.Paste
'return to current worksheet
Sheets("VBA").Select
Range("E5").Activate
End Sub

Easy Ways to Create a 2D Clustered Column Chart in Excel

  • Save it and click the play button to run the code.

Sample Data Set

Step 5:

  • The 2D clustered column chart is created.

Sample Data Set

Step 6:

  • Format the chart in Style.

Sample Data Set

  • This is the output.

Sample Data Set

Read More: How to Insert a 3D Clustered Column Chart in Excel


Download Practice Workbook

Download the free Excel workbook.


Related Articles


<< Go Back To Column Chart in Excel | Excel Charts | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Md. Araf Bin Jayed
Md. Araf Bin Jayed

I am Araf. I have completed my B.Sc in Industrial and Production Engineering from Ahsanullah University of Science and Technology. Currently I am working as an Excel & VBA Content Developer in Softeko. With proper guideline and aid of Softeko I want to be a flexible data analyst. With my acquired knowledge and hard work, I want to contribute to the overall growth of this organization.

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo