A crosstab is a table that summarizes the relationship between two categorical variables. The following step-by-step example explains how to create a crosstab in Excel.
First, let’s enter the following dataset into Excel:
Next, click the Insert tab along the top ribbon and then click the PivotTable button. In the new window that appears, select the range that contains the data as the Table/Range and choose any cell you’d like in the Existing Worksheet to place the crosstab. We’ll choose cell E2:
Once you click OK, a new window on the right side of the screen will appear. Drag the Team variable to the Rows area, the Position variable to the Columns area, then the Position variable again to the Values area as follows: Once you do so, the following crosstab will appear in the cell that you specified:
Column Totals:
Individual Cells:
The following tutorials offer additional information on how to calculate frequencies in Excel:
Hey there. My name is Zach Bobbitt. I have a Masters of Science degree in Applied Statistics and I’ve worked on machine learning algorithms for professional businesses in both healthcare and retail. I’m passionate about statistics, machine learning, and data visualization and I created Statology to be a resource for both students and teachers alike. My goal with this site is to help you learn statistics through using simple terms, plenty of real-world examples, and helpful illustrations.