How to Create a Pie Chart in Excel with One Data Column – 2 Methods

 

This is the sample dataset.

 Handy Ways to Make a Pie Chart in Excel with One Column of Data

Method 1 – Inserting a PivotTable to Create a Pie Chart in Excel

Step 1:

  • Select the entire column. Here, B4:B14.

 Handy Ways to Make a Pie Chart in Excel with One Column of Data

Step 2:

  • Go to the Insert tab and choose PivotTable.

 Handy Ways to Make a Pie Chart in Excel with One Column of Data

Step 3:

  • In “Select a table or range”, you will see the selected range (B4:B14).
  • Select “Existing Worksheet” and choose an empty cell near your dataset. Here, D4.
  • Click OK.

 Handy Ways to Make a Pie Chart in Excel with One Column of Data

Step 4:

  • In “PivotTable Fields”, drag Sales in June 2022 to both Rows and Values.

 Handy Ways to Make a Pie Chart in Excel with One Column of Data

  • The PivotTable is displayed.

 Handy Ways to Make a Pie Chart in Excel with One Column of Data

Step 5:

  • Select any cell in the table.

 Handy Ways to Make a Pie Chart in Excel with One Column of Data

Step 6:

  • G to the Insert tab and click “Insert Pie or Doughnut Chart” in Charts.

 Handy Ways to Make a Pie Chart in Excel with One Column of Data

Step 7:

  • Choose a pie model. Here, 2-D Pie.

 Handy Ways to Make a Pie Chart in Excel with One Column of Data

  • The pie chart is displayed.

 Handy Ways to Make a Pie Chart in Excel with One Column of Data

Read More: How to Create a Pie Chart in Excel from Pivot Table


Method 2 – Applying VBA to Create a Pie Chart in Excel

Step 1:

  • Use the following dataset:

 Handy Ways to Make a Pie Chart in Excel with One Column of Data

Step 2:

  • Go to the Developer tab and choose Visual Basic.

Sample Data Set

Step 3:

  • In the Insert tab, choose Module.

Sample Data Set

Step 4:

  • Enter the following VBA Codes.
Sub Make_a_Pie_chart()
Dim Sales_in_June As Chart
Set Sales_in_June = Charts.Add
Sales_in_June.SetSourceData Source:=Worksheets("VBA").Range("B4").CurrentRegion, PlotBy:=xlColumns
Sales_in_June.ChartType = xlPie
End Sub

Sample Data Set

Step 5:

  • Save the program and press the play button to run the code.

Sample Data Set

  • You will see the pie chart:

Sample Data Set

Read More: How to Make a Pie Chart with Multiple Data in Excel


Download Practice Workbook


Related Articles


<< Go Back To Make a Pie Chart in Excel | Excel Pie ChartExcel ChartsLearn 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