Module 11 · Charts · Tiny trends in a cell

Kenji Tanaka cooks and owns Yuzu Noodle Bar

The bank wants to see six months of sales. Kenji has a table with one row for each dish. Eight charts are too much for one page. A sparkline is a tiny chart in one cell, next to its numbers.

Loading the spreadsheet…

Module 11 · Charts

Tiny trends in a cell

Kenji Tanaka, cooks and owns Yuzu Noodle Bar
Kenji Tanaka cooks and owns Yuzu Noodle Bar

The bank wants to see six months of sales. Kenji has a table with one row for each dish. Eight charts are too much for one page. A sparkline is a tiny chart in one cell, next to its numbers.

Steps

  1. Insert line sparklines

    A sparkline is a small chart in one cell. Select the numbers, click Insert, Sparklines, Line. Then type the cells for the sparklines in Location Range.

    How to do it

    1. Select the numbers of all rows, without names and header.
    2. On the Insert tab, in the Sparklines group, click Line.
    3. In Location Range, type one cell for each row of data.
    4. Click OK.
    5. You can also select the cells for Location Range with the mouse while the box is open.
    6. A sparkline is not a formula. It changes when the numbers change.

    Data Range C5:H9, Location Range I5:I9

    Task: Insert line sparklines for the three drinks. The numbers are in C13 to H15. Put the sparklines in I13 to I15.

  2. Change sparklines on the Sparkline tab

    Click a cell with a sparkline. The Sparkline tab shows. Type changes all sparklines of the group. Show adds points.

    How to do it

    1. Click a cell with a sparkline.
    2. On the Sparkline tab, in the Type group, click the new type.
    3. Win/Loss shows only up or down. It is good for profit and loss.

    Sparkline > Column

    Task: Show the markers on the sparklines of the drinks. Keep them as lines.