Excel, COUNTIFS, Wildcards and the Most Popular Trio of Pizza Toppings @OzduSoleilDATA
Excel, COUNTIFS, Wildcards and the Most Popular Trio of Pizza Toppings  @OzduSoleilDATA
Uploaded August 2018 | Updated November 2026, 2 days ago
Of more than 200 pizza orders and 20 ingredients, which trio of toppings shows up the most?

This was more of a mind exercise because the Excel piece was easier than I thought. One challenge is that we want which 3 show up together the most--even if they are with other items. Example:

3 pizzas:
- Extra cheese, mushrooms, grilled onions
- Ham, extra cheese, black olives, grilled onions, mushrooms
- Mushrooms, pepperoni, grilled onions, extra cheese

These all count toward the trio of: extra cheese, mushrooms, grilled onions. We need Excel to see that.

The first step is to get a list of all the possible combinations of 3 toppings:

Out of 20 items, there are 1140 combinations of 3.

Thanks to the MathiIsFun website, we can get a list of all 1140 combinations.
mathsisfun.com/combinatorics/combinations-permutations-calculator.html

Then we need Excel wildcards and COUNTIFS to tally how many times each of the 1140 trios was ordered.

#CombinationsAndPermutationsInExcel
#COUNTIFS
#ExcelWildcards

Download the file: datascopic.net/3pizza

For an intro to Get & Transform (Power Query) try my Lynda/LinkedIn course:
linkedin.com/learning/instructors/oz-du-soleil?trk=insiders_28299411_learning


Website: ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition
amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336

My old blog: datascopic.net/blog-2-2
Excel, COUNTIFS, Wildcards and the Most Popular Trio of Pizza ToppingsCalculating NETWORKDAYS when people work just 1 to 4 days/wk or have non-consecutive days offAn Excel Meditation with Tables, XLOOKUP, Dynamic Arrays in a Dynamic Dropdown List SolutionExcel Patience | Sort birthdays by the day and month | Insert 7 Rows Between EntriesUsing a Transformation Table in Power Querys Fuzzy MergesExcelGuru Challenge #3: Parsing Text & Own Your Excel StyleExcel Pivot Tables for Beginners | Excel Ignited Day 10 | SSSVEDAXLOOKUP: Search from the bottom and top of a listOz du Soleil: Risk Taking as a Content Creator | Global Excel SummitTest Your PowerQuery Instinct With This 5 Question QuizUse Power Query to Get Top X Scores and Tie ScoresDependent Dropdown Lists in Excel with Power Query & Dynamic Arrays
Excel On Fire (Oz du Soleil) |

Excel, COUNTIFS, Wildcards and the Most Popular Trio of Pizza Toppings

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER