Professional Documents
Culture Documents
Tables
Book: Microsoft Excel 2016 Data Analysis and Business Modeling
Turning Data into Table
File: tabletemplate.xlsx
Task: Turn the data into an Excel table, name the table
MyTable, and sort the data by name in ascending order.
Insert | Tables (Table)
Examples
=COUNTA(MyTable[Name]) Count entries in the Name column
=SUM(MyTable[Units]) Total number of units in the Units column
=COUNTA(MyTable[#All]) Entire content of the table
=[@Revenue] / [@Units]
@ sign refers to the current row
[@Revenue] refers to the value under the Revenue column in the
current row.
[@Units] refers to the value under the Units column in the current
row.
Q:Count the Sales Reps who sold at least 700 of units and
made at least $30000.
=MyTable[[#Totals],[Units]]
The cell at the Total Row under the Units column.
Its value depends on what the Total Row shows.
If the Total Row shows AVERAGE, then this number is the average units.
=MyTable [[#Data],[Units]]
The whole data portion of the Units column
=MyTable[[Units]:[Unit Price]]
All cells between Units and Unit Price columns, not counting the cells in
the Total Row.