Menu
Coddy logo textTech

Combining Functions

Part of the Fundamentals section of Coddy's Excel journey — lesson 27 of 42.

A function's result is just a number, which means you can do math with it, exactly like a cell reference. Want the gap between your best and worst value? Subtract one function from another:

=MAX(A2:A5)-MIN(A2:A5)

That's called the spread (or range) of the data. If the values run from 10 up to 30, the spread is 30 - 10 = 20, one formula, no helper cells needed.

The same trick combines totals. Two weeks of sales in two columns? Add their SUMs:

=SUM(A2:A5)+SUM(B2:B5)

Excel evaluates each function first, then applies the operator between the results. Anything you learned about arithmetic, + - * /, parentheses, order of operations, works on function results too. Small pieces, snapped together: that's how real spreadsheets are built.

challenge icon

Challenge

Easy

Two weeks of sales: week 1 in A2:A5, week 2 in B2:B5.

Labels are ready in column C: Total (C2) and Spread (C3).

  1. In D2: both weeks combined, add the SUM of each column
  2. In D3: the spread of week 1, MAX of A2:A5 minus MIN of A2:A5

Each answer is a single formula combining two functions.

Try it yourself

Sheet1
ABCDEFG
1Week 1Week 2
21020Total
3255Spread
41535
53020
6
7
8
9
10
11
12
13
14
quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Fundamentals