A yes/no pie chart in Excel is a donut-style or full pie chart with exactly two slices—one for "Yes" and one for "No"—so the result reads at a glance. You build it by putting your Yes count and No count into two cells, selecting them, and inserting a pie chart (Insert > Pie Chart on the ribbon). There is no dedicated "yes/no chart" type in Excel: every pie you have ever seen is just a two-row data table underneath. Once you understand that, the whole job takes under a minute, and the rest of the work is formatting and fixing the handful of things that commonly go wrong—blank slices, wrong labels, tiny "No" slices that vanish behind the legend, and a chart that does not update when your source data does. Menu labels can differ slightly by Excel version, platform, and region, but the ribbon paths below are the standard ones on desktop Excel for Windows and Mac.

What You'll Need

  • Excel on desktop (Windows or Mac), or Excel for the web. Excel on a phone has very limited chart editing, so do the setup on a computer if you can.
  • Your yes/no data, either as raw per-person answers (a column of "Yes"/"No") or as ready-made counts.
  • Two cells set aside for the counts, plus two label cells reading "Yes" and "No".
  • Optional: a COUNTIF formula if your data is a raw list rather than totals.

Step-by-Step

  1. Lay out four cells. Somewhere clear in your sheet—say A1 through B3—put a small header block. In A1 type Answer and in B1 type Count. In A2 type Yes, in A3 type No. Leave B2 and B3 blank for now; they will hold the numbers that drive the chart.
  2. Get your counts. If you already have totals, just type them into B2 and B3. If your source data is a list of individual responses in a column (for example responses in D2 through D101), put a formula in B2: =COUNTIF(D2:D101,"Yes") and in B3: =COUNTIF(D2:D101,"No"). COUNTIF is case-insensitive and ignores trailing spaces only if the text matches exactly, so watch for stray spaces in your source column.
  3. Confirm the numbers add up. Manually total the yes and no counts and compare with your row count. If the two cells do not equal the number of responses you expect, you have typos like "yes" vs "Y" vs "Yes " in the source column. Pie charts silently exclude blanks, so errors here show up as a missing or undersized slice rather than an error message.
  4. Select the whole block. Click and drag to highlight A1 through B3, including the header row and both labels. Selecting only the numbers is the single most common reason people end up with a pie chart labelled "Series1" and "1, 2".
  5. Insert the chart. Go to the Insert tab on the ribbon and choose the Pie Chart icon in the Charts group, then pick a plain 2-D Pie. Avoid the 3-D option: perspective makes the slices harder to compare and can hide a small slice behind a tall one.
  6. Check the legend and data labels. Click the chart, then the plus (chart elements) button at its top-right corner, or use Chart Design > Add Chart Element. Tick Legend and Data Labels. With the labels on, right-click any label > Format Data Labels and tick Value and Percentage as well as Category Name where offered, so each slice shows what it is, how many, and what share.
  7. Name the chart. Click the chart title placeholder and type something specific, like "Did the customer accept the upgrade?". A bare "Count of Answer" tells a reader nothing.
  8. Set the colours deliberately. Right-click the Yes slice > Format Data Point > Fill and choose a calm green; repeat for No with a red or grey. Two shades of the same colour make the chart much harder to read at a glance.
  9. To scale up, turn it into a donut. If a full pie feels bulky, insert a Doughnut instead. It is the same two values, and it leaves the centre free for a single big figure—type a text box in the middle showing the Yes percentage.
  10. Pull one slice out for emphasis. If "No" is the number that matters, click the pie once (selects all slices) then click the No slice once more (selects just that slice) and drag it slightly outward. This is called exploding a slice, and it should be used once per chart at most.
  11. Test that it updates. Change a value in B2 or B3. The chart should redraw immediately. If it does not, your chart is probably pointing at typed-in numbers rather than the cells, or you have manual calculation turned on—press F9 to recalculate on Windows, or check Formulas > Calculation Options.

Common Mistakes

Charting raw responses instead of counts. Excel will happily make a pie from a column of the words Yes and No, but it counts text using COUNTA-style logic, not value logic, so a pie built directly from text often shows one meaningless slice. Always chart numbers.

Leaving the header row out of the selection. Without labels, Excel invents them. Include the labels next to the numbers in your selection.

Two values that do not sum correctly. A pie must total 100%. If blank cells or hidden rows sit inside your source range, the slice sizes no longer match the real answers.

Using a pie for a yes/no when the answer matters more than the split. With only two categories, a simple percentage in a big font often communicates better than a chart. The pie is fine, but do not assume it is always the best choice.

Adding a second data series. Pies are single-series charts. If Excel offers you a pie of pie or a bar of pie, that is it trying to accommodate multiple series—go back and reduce your selection to two values.

Over-decorating. 3-D effects, gradients, shadows, and heavy borders muddy a two-slice chart. Flat fills and clear labels win every time.

Tips

  • Name the two count cells (click the Name Box, type YesCount, press Enter) so your chart and any formulas read cleanly later.
  • Round the percentages in the labels—right-click > Format Data Labels > Number > Percentage with 0 or 1 decimal place—so you do not get "33.333333%" on screen.
  • Keep the data table close to the chart on the same sheet, or on a small hidden helper sheet, so a colleague can see where the numbers come from.
  • If the chart is for a dashboard, put the Yes percentage in a cell with a formula like =B2/(B2+B3), format it as a percentage, and link a text box or the chart title to that cell. The title then updates itself every time the answers change.
  • For exports and screenshots, copy the chart as a picture: right-click the chart border > Copy, then use Paste Special as an image in Word or PowerPoint.
  • Save the file as .xlsx rather than .csv if the chart needs to survive—CSV files cannot hold charts.

Troubleshooting

The chart shows "1" and "2" instead of Yes and No. Delete it, then reselect from the label cell through the last number, header included, and insert the pie again.

Only one slice appears. One of your counts is blank, zero, or text. A blank or zero slice is not drawn at all. Put a 0 in the cell if the answer genuinely is zero and the second slice will still show; if both are zero, Excel has nothing to plot and displays an empty chart frame.

Slices look wrong compared to the raw data. Check your COUNTIF ranges for absolute references. Dragging the formula can shift the range, so use =COUNTIF($D$2:$D$101,"Yes") to lock it.

The chart does not update. Confirm the chart's source range (right-click the chart > Select Data) covers your cells, and that calculation is Automatic under Formulas > Calculation Options.

Labels are unreadable on a thin slice. Move the labels to the outside of the slice—Format Data Labels > Label Position > Outside End—or switch to a donut with a legend instead.

The pie is not available in the menu. In some very old or limited Excel builds, chart options are greyed out when no range is selected or the sheet is protected. Unprotect the sheet via Review > Unprotect Sheet.

If none of that works, copy just the four cells into a brand-new workbook and build the pie there. That isolates whether the problem is in your data or in the original file, and it usually takes a minute.

Frequently Asked Questions

Can Excel make a pie chart from Yes/No text automatically?

Not reliably. Pivot charts can count text categories for you, but the straightforward route is two COUNTIF cells, then a pie from those two numbers.

Why is my pie chart not 100%?

Slices are drawn as a share of whatever the values total. If your total is not what you expect, your selected range includes extra cells, blanks, or text—the pie still fills the full circle, but the proportions are wrong.

Should I use a pie or a bar chart for yes/no data?

Both work. A pie suits a single question with the answer being "what share said yes"; a bar or a simple percentage figure is easier to compare across several questions.

How do I show the percentage on each slice?

Turn on Data Labels, then right-click a label > Format Data Labels and tick Percentage. Excel calculates it from the slice values, so it updates automatically.

Can I make the pie update from a Microsoft Forms or survey export?

Yes, if the responses land in a workbook range. Point your COUNTIF formulas at that range, and refresh or re-import the data as needed; the chart follows the cells, not the survey.

Does a yes/no pie chart work in Excel for the web?

Yes, Insert > Charts includes pie charts in the browser version. Some fine-grained formatting, such as exploding slices, is more limited there than on desktop.