1. Lighthouse

Level 3 · Daily spend around Black Friday as a line chart

The request

From Jordan Reyes, Head of Marketing

“I need to see how our ad spend ramped up around Black Friday and Cyber Monday, per channel, day by day. The export has one row per day and channel. Can you get it into a line chart, one line per channel?”

Your goal

The days are in E2:E21 and the channels in F1:H1. Fill F2:H21 with each day's spend for each channel: SUMIFS of the amount column (C2:C61) where the date (A2:A61) equals the day in column E and the channel (B2:B61) equals the channel in row 1. Write one formula in F2 with mixed references ($E2, F$1) and fill it across and down.

  • Fill F2:H21 with the right valuesnot done yet
  • With formulas, not typed numbersnot done yet
  • Use SUMIFSnot done yet

Your sheet

Excel
The sheet for this level
ABCDEFGHI
1spend_datechannelamountdaypaidsocialemail
22025-11-15email61.22Sat Nov 15
32025-11-15paid1,247.86Sun Nov 16
42025-11-15social369.98Mon Nov 17
52025-11-16email52.20Tue Nov 18
62025-11-16paid1,336.44Wed Nov 19
72025-11-16social364.99Thu Nov 20
82025-11-17email189.12Fri Nov 21
92025-11-17paid1,115.88Sat Nov 22
102025-11-17social425.28Sun Nov 23
112025-11-18email145.74Mon Nov 24
122025-11-18paid974.81Tue Nov 25
132025-11-18social362.87Wed Nov 26
142025-11-19email126.88Thu Nov 27
152025-11-19paid1,335.53Fri Nov 28
162025-11-19social453.11Sat Nov 29
172025-11-20email134.29Sun Nov 30
182025-11-20paid1,211.68Mon Dec 1
192025-11-20social449.52Tue Dec 2
202025-11-21email343.15Wed Dec 3
212025-11-21paid2,234.09Thu Dec 4
222025-11-21social762.15
232025-11-22email156.29
242025-11-22paid3,064.30
252025-11-22social944.68
262025-11-23email109.43
272025-11-23paid1,933.71
282025-11-23social724.35
292025-11-24email320.38
302025-11-24paid1,941.89
312025-11-24social1,005.67
322025-11-25email257.09
332025-11-25paid2,468.60
342025-11-25social1,003.96
352025-11-26email381.99
362025-11-26paid3,054.69
372025-11-26social1,158.22
382025-11-27email372.64
392025-11-27paid2,507.56
402025-11-27social1,185.48
412025-11-28email277.27
422025-11-28paid3,081.46
432025-11-28social1,009.86
442025-11-29email119.51
452025-11-29paid2,115.26
462025-11-29social915.64
472025-11-30email147.91
482025-11-30paid3,098.78
492025-11-30social1,012.26
502025-12-01email270.52
512025-12-01paid3,180.40
522025-12-01social1,053.40
532025-12-02email197.15
542025-12-02paid1,077.28
552025-12-02social355.95
562025-12-03email198.08
572025-12-03paid1,160.59
582025-12-03social503.80
592025-12-04email122.95
602025-12-04paid968.67
612025-12-04social474.81
62
63

Loading the editor…

    ResultPress Check to compare F2:H21

    Mote checks your result

    Press Check. Each right cell becomes a firefly in your lantern.

    The lesson

    A line chart is the chart for time. The x-axis is a sequence of dates in order, and the line connecting the points lets the eye read rises, drops and peaks at once. Use it when the question starts with “how did it change”: daily sales, weekly signups, monthly spend.

    Long data, wide chart

    The export in A1:C61 is long: one row per day and channel, 20 days × 3 channels = 60 rows. A line chart with one line per channel needs the data wide: one row per day, one column per channel. The days are given in E2:E21 and the channels in F1:H1; the grid in between is yours.

    One SUMIFS for the whole grid

    Each cell needs the amount where the date matches its row and the channel matches its column:

    F2   =SUMIFS($C$2:$C$61,$A$2:$A$61,$E2,$B$2:$B$61,F$1)

    The references do the work when you fill:

    Reference Locked Why
    $C$2:$C$61, $A$2:$A$61, $B$2:$B$61 both the data never moves
    $E2 the column every column reads the day in E
    F$1 the row every row reads the channel in row 1

    Check one cell by hand. F15 should be the paid spend on Friday, November 28: 3,081.46, the value in the export row for that date and paid.

    Making it in Excel

    Select E1:H21, then Insert → Charts → Line. Excel puts the dates on the x-axis and makes one line per column, named after the headers. If Excel draws the dates as a fourth line, the date cells were stored as text: fix them first (chapter 4). In Chart Design → Add Chart Element, add an axis title for the value axis (“Spend, $”) and keep the legend, because with three lines it is what tells them apart.

    What the chart shows

    Paid spend sits between 974.81 and 1,336.44 a day from November 15 to 20, then jumps on Friday, November 21 to 2,234.09 and stays high: 3,064.30 on Saturday the 22nd, 3,081.46 on Black Friday (November 28) and a peak of 3,180.40 on Cyber Monday (December 1). The next day it falls back to 1,077.28. Social follows the same shape at about a third of the level, peaking at 1,185.48 on November 27. The campaign ran for eleven days, not for one weekend.

    Email is the hard line to read. It never goes above 381.99, so on an axis built for 3,000 it hugs the floor and its own pattern disappears: it drops on weekends (52.20 on Sunday, November 16) and rises on weekdays. When one series is ten times smaller than the others, give it a secondary axis (a combo chart) or its own chart. The page draws every line on one axis, so here you see the problem rather than the fix; in Excel, right-click the email line → Format Data Series → Secondary Axis.

    Common mistakes

    • Relative references in a grid. =SUMIFS(C2:C61,A2:A61,E2,B2:B61,F1) breaks the moment you fill it right or down.
    • A column or pie chart for a time series. Twenty days as columns works, but the trend reads faster as a line; a pie of days makes no sense at all.
    • Missing days. A line chart joins the points it has. If a day is missing from the table, the line skips over it without a sign. List every day, even when the value is zero.

    Pick what may run on this site. You can change this any time from "Cookie settings" at the bottom of every page.