##### Cheat Sheet

# Excel Data Analysis For Dummies Cheat Sheet

Data analysis, by definition, requires some data to analyze. However, after you’ve imported or entered that data and cleaned it up as best you can. what’s your next move? Ah, that’s where the “analysis” part raises its hand in the air and says, “Pick me, pick me!” Excel is bursting at its digital seams with tools for analyzing data, but there are some that you’ll turn to most often. Here you’ll find quick guides for Excel’s descriptive statistics tools, building comparison expressions, and wielding the powerful database functions.

### Excel’s Descriptive Statistics Functions

When it’s time to get down to analyzing your data, a good place to start is with some basic statistics, such as counting items, calculating sums and averages, finding the largest and smallest values, working out the standard deviation, and so on. These measures fall under the general rubric of *descriptive statistics,* and Excel offers a fistful of functions that help you get the job done. Here’s a summary:

Function |
What It Does |

`COUNT(` |
Counts numbers |

`COUNTA(` |
Counts non-empty cells |

`COUNTBLANK(` |
Counts empty cells |

`COUNTIF(` |
Counts the cells in a range that match the criteria |

`COUNTIFS(` |
Counts the cells in multiple ranges that match multiple criteria |

`PERMUT(` |
Counts the permutations |

`COMBIN(` |
Counts the combinations |

`SUM(` |
Calculates the sum |

`SUMIF(` |
Calculates the sum of the cells that match the criteria |

`SUMIFS(` |
Calculates the sum of cells in multiple ranges that match multiple criteria |

`AVERAGE(` |
Calculates the arithmetic mean |

`AVERAGEIF(` |
Calculates the mean of the cells that match the criteria |

`AVERAGEIFS(` |
Calculates the mean of cells in multiple ranges that match multiple criteria |

`MEDIAN(` |
Calculates the median (middle) value |

`MODE(` |
Calculates the mode (most common) value |

`RANK.EQ(` |
Returns an item’s rank relative to the other items in a data set |

`LARGE(` |
Returns the kth largest item in a data set |

`SMALL(` |
Returns the kth smallest item in a data set |

`FREQUENCY(` |
Creates a grouped frequency distribution |

`VAR.S(` |
Calculates the variance of a sample |

`VAR.P(` |
Calculates the variance of a population |

`STDEV.S(` |
Calculates the standard deviation of a sample |

`STDEV.P(` |
Calculates the standard deviation of a population |

`CORREL(` |
Calculates the correlation between two data sets |

### How to Build Excel Comparison Expressions

A *comparison* *expression *— also known as a *logical expression* or a *Boolean expression* — is an expression in which you compare the items in a range or table column with a value you specify. In Excel, you use comparison expressions to create advanced filters for a table, as well as in functions that require criteria, such as COUNTIF, SUMIF, and AVERAGEIF.

To construct a comparison expression, you enter a comparison operator from the following table and then a value used in the comparison.

Operator |
Name |
Example |
What It Matches |

= | Equals | = 100 | Cells that contain the value 100 |

<> | Not equal to | <> 0 | Cells that contain a value other than 0 |

> | Greater than | > 1000 | Cells that contain a value greater than 1,000 |

>= | Greater than or equal to | >= 25 | Cells that contain a value that’s equal to or greater than 25 |

< | Less than | < 0 | Cells that contain a negative value |

<= | Less than or equal to | <= 927 | Cells that contain a value that’s equal to or less than 927 |

### Excel’s Database Functions

To help you analyze data that’s stored in a table or range, you can turn to Excel’s powerful database functions, which enable you to apply calculations such as sum, average, and standard deviation.

The database functions all use the same three arguments:

: The range of cells that make up the table you want to work with. You can use either the table name or the table range address. If you go with the table name, be sure to reference the entire table by using the syntax`database`

`Table`

`[#All]`

(whereis the name of your table).`Table`

: A reference to the table column on which you want to perform the operation. You can use either the column header or the column number (where the leftmost column is 1, the next column is 2, and so on). If you use the column name, enclose it in quotation marks (for example, “Unit Price”).`field`

: The range of cells that hold the criteria you want to work with. You can use either a range name, if one is defined, or the range address.`criteria`

Function |
What It Does |

`DGET(` |
Retrieves a value from a table or range |

`DSUM(` |
Adds values from a table or range based on the criteria you specify |

`DCOUNT(` |
Counts the numeric values in a table or range that match the specified criteria |

`DCOUNTA(` |
Counts the nonblank items in a table or range that match the specified criteria |

`DAVERAGE(` |
Averages the values in a table or range that match the specified criteria |

`DMAX(` |
Finds the maximum value in a table or range based on the criteria you specify |

`DMIN(` |
Finds the minimum value in a table or range based on the criteria you specify |

`DPRODUCT(` ) |
Multiplies the values in a table or range that match the specified criteria |

`DSTDEV(` |
Calculates the standard deviation of the sample values in a table or range that match the specified criteria |

`DSTDEVP(` |
Calculates the standard deviation of the population values in a table or range that match the specified criteria |

`DVAR(` |
Calculates the variance of the sample values in a table or range that match the specified criteria |

`DVARP(` |
Calculates the variance of the population values in a table or range that match the specified criteria |