The ExcelUnpack Blog
82 plain-English guides to Excel, from your first formula to lookups, dates and pivot tables. Each one explains how it works with an example, then lets you practice it on a real sheet. The first 4 lessons are free.
Getting started
Cells, typing, editing and your first formulas.
- Cells, rows and columnsFreeA spreadsheet is a big grid of boxes called cells.
- Editing cellsFreeTypos happen. Excel lets you fix a cell by typing over it, or by editing just one part of it.
- Your first formulaFreeA formula is how a spreadsheet does math for you.
- Copying formulas acrossFreeYou rarely need to type the same formula twice.
- Order of operationsExcel does math in a set order: parentheses first, then times and divide, then add and subtract.
Shortcuts
Select, jump, fill and copy with the keyboard.
- Selecting cellsA range is a block of cells next to each other.
- Jump with Ctrl + ArrowCtrl + an arrow key jumps to the last filled cell in that direction.
- Select with Ctrl + Shift + ArrowAdd Shift to the jump shortcut and Excel selects everything on the way.
- Fill Down and Fill RightCtrl + D fills a formula down and Ctrl + R fills it to the right.
- Copy and paste formulasCtrl + C copies a cell and Ctrl + V pastes it.
Adding with SUM
Add up ranges with SUM.
Cell references
Lock cells with $ for copying, percents and running totals.
- Absolute references ($)When you copy a formula, its cell names move.
- Mixed referencesA mixed reference locks only the column or only the row.
- Percent of totalTo find what share each part is of the whole, divide the part by the total.
- Running totalsA running total adds each new number to everything before it.
Count functions
Count numbers, cells and matches.
- COUNT, COUNTA and COUNTBLANKCOUNT counts the cells that hold numbers.
- COUNTIFCOUNTIF counts only the cells that match what you ask for.
- COUNTIF with wildcardsA star * stands for any letters. "Red*" matches anything that starts with Red, "*Shirt" anything that ends with Shirt, and "*Hat*" anything with Hat in it.
- COUNTIF with a cellInstead of typing the value into the formula, point COUNTIF at a cell.
- COUNTIFSCOUNTIFS counts rows that match two or more conditions at once.
Conditional sums
Add up only the rows that match.
Statistics
Average, median, mode, rank and more.
- AVERAGE, MIN, MAX, COUNTAVERAGE, MIN, MAX and COUNT work just like SUM.
- MEDIAN and MODEMEDIAN finds the middle number when the list is sorted.
- LARGE and SMALLLARGE finds the 1st, 2nd or 3rd biggest number in a list.
- RANKRANK shows where a number sits in a list.
- AVERAGEIF and AVERAGEIFSAVERAGEIF finds the average of only the rows that match.
Logic
Make choices with IF, AND, OR, NOT, IFS and IFERROR.
- IFIF lets a formula make a choice. It asks a yes-or-no question, then shows one answer if it is true and another if it is false.
- AND and ORAND is true only when every test is true.
- NOTNOT flips TRUE into FALSE and FALSE into TRUE.
- Nested IFA nested IF puts one IF inside another, so a formula can choose between more than two answers.
- IFSIFS checks several tests in order and gives the answer for the first one that is true.
- IF with mathIF can give back numbers and math, not just words.
- IF with empty cellsB2="" is true when B2 is empty. Put it inside IF to show "Missing" for cells that have not been filled in yet, or to leave a cell blank until there is data.
- IFERRORIFERROR catches errors and shows something nicer instead.
Lookups
Find information in a table.
- VLOOKUPVLOOKUP finds a value in the first column of a table and brings back something from the same row.
- Approximate matchWith TRUE at the end, VLOOKUP finds the closest level that is not bigger than your number.
- VLOOKUP with IFERRORWhen VLOOKUP can’t find a code, it shows #N/A.
- HLOOKUPHLOOKUP is VLOOKUP turned on its side. It searches across the top row of a table and brings back a value from a row below.
- MATCHMATCH tells you where something is in a list: 1st, 2nd, 3rd and so on.
- XLOOKUPXLOOKUP is the newer, simpler lookup. You say what to find, where to look and where the answer is.
INDEX and MATCH
Look up in any direction.
Working with text
Join, split, clean and format text.
- Joining textThe & sign joins text together. =A2&" "&B2 turns "Maya" and "Chen" into "Maya Chen".
- LEFT, RIGHT, MIDLEFT takes characters from the start of a text, RIGHT from the end, and MID from the middle.
- Cleaning textData pasted from other places is often messy.
- TEXTJOINTEXTJOIN joins a whole range of cells with a separator, like a comma and a space.
- The TEXT functionThe TEXT function shows a number in a format you choose, like $3.50 or 15%.
Text search
Find and replace text inside cells.
- FINDFIND tells you the position of a character or word inside a text.
- SEARCHSEARCH works like FIND but ignores capital letters.
- SUBSTITUTESUBSTITUTE swaps every copy of one piece of text for another.
- REPLACEREPLACE swaps characters by position. You say where to start, how many characters to remove and what to put there.
- Get the first nameTo get a first name from a full name, find the space, then take everything before it.
- Get the last nameThe last name is everything after the space.
Dates
Build, split and count dates.
- Dates and DATEIn Excel a date is really a number, counted in days.
- YEAR, MONTH and DAYYEAR, MONTH and DAY pull one part out of a date.
- Days between datesBecause dates are numbers, you can subtract them.
- WEEKDAYWEEKDAY gives the day of the week as a number: 1 for Sunday through 7 for Saturday.
- EDATE and EOMONTHEDATE moves a date forward or back by whole months.
- DATEDIF: agesDATEDIF counts the full years, months or days between two dates.
- NETWORKDAYSNETWORKDAYS counts the weekdays between two dates, skipping Saturdays and Sundays.
Numbers and math
Rounding, percents and more math.
- ROUND, ROUNDUP, ROUNDDOWNROUND rounds to the number of decimal places you choose.
- Percentage changePercent change is (new − old) ÷ old. It shows how much something went up or down compared with before.
- Percent of a numberTo find a percent of a number, multiply.
- ABSABS gives the size of a number without its minus sign.
- MOD: even and oddMOD gives the remainder after dividing. =MOD(A2,2) is 0 for even numbers and 1 for odd numbers.
- Powers and square rootsPOWER raises a number to a power, like squared or cubed.
Array formulas
Work on whole ranges at once.
Pivot tables
Insert pivot tables and summarize big lists in seconds.
- Your first pivot tableA pivot table sums up a big list in seconds.
- Count, average and maxA pivot table adds up numbers by default.
- Rows and columnsDrag one field into Rows and another into Columns to make a grid.
- More than one fieldYou can drag two fields into Rows. The second one shows under each item of the first, with a subtotal for each group.
- Filter a pivot tableDrag a field into the Filters box to show only some rows.
- Sort a pivot tableSort a pivot table to put the biggest or smallest first.
- Project: Team expenses reportThis project puts every pivot table skill together on a team expenses list.
Combined projects
Use many skills together in real projects.
- Sales reportThis project builds a small sales report from start to finish.
- Project: GradebookIn this project you build a gradebook: each student’s average, a letter grade, the class average, how many A’s and who has the top average.
- Project: Monthly budgetThis project builds a monthly budget: what is left in each category, which ones went over, the total budget and how much went on wants.
- Project: Store inventoryThis project runs a small store inventory: flag items to reorder, look up an item by its code, and count and add up the stock that needs reordering.