There are multiple ways of showing sample size for each column in a table using built-in context menus and rules.
Method 1 - Add statistics to your table
- Statistics - Below > Column n will place Column n at the base of each column. Note that you can rename Column n using Output Text. Note that when the sample size varies within the columns this result will often be misleading (see NET is not 100% for a description of the general problem).
- Statistics - Cells > Column n will place Column n in each cell. This is appropriate when you have differing sample sizes within each column.
Method 2 - Use rules to add sample details to your table
- Automate > Browse Online Library > Modify Header > Add Sample Size to Column Labels places the sample size in the column headers.
- Automate > Browse Online Library > Modify Footers > Add Column Base Sizes adds sample sizes for each column (other than the NET and SUM columns) to the footer.