Array Functions
Advanced

Name a value so the formula reads like a sentence

LET binds a name once and reuses it.

Task:

This commission calculation repeats the same total three times, and nobody can read it. In C2, use LET to bind the name total to SUM(B2:B7), then return total multiplied by 0.05.

Learning Objectives:

  • Bind a name with LET
  • Put the calculation last
  • Write formulas someone else can read
Hints

Solve without hints for +5 XP

Interactive Spreadsheet

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

ABC
1DealValueCommission
2Alders renewal4200
3Brant expansion3100
4Corvo new5800
5Delta renewal2400
6Ekko new4900
7Fenn expansion3600
What this exercise teaches (contains the answer)

LET is the closest Excel gets to a variable. It makes long formulas readable, and Excel evaluates each name once rather than every time it appears — so a formula repeating an expensive lookup five times gets faster as well as clearer.

Functions used here