0
0
Google Sheetsspreadsheet~20 mins

Timeline charts in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Timeline Chart Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
1:30remaining
Calculate Duration for Timeline Chart
You have a start date in cell A2 and an end date in cell B2. Which formula correctly calculates the duration in days for a timeline chart?
A=B2 - A2
B=A2 - B2
C=DATEDIF(A2, B2, "D")
D=DATEDIF(A2, B2, "M")
Attempts:
2 left
💡 Hint

Remember, duration is end date minus start date.

Function Choice
intermediate
1:30remaining
Choose the Right Function to Extract Month
You want to group timeline events by month. Which function extracts the month number from a date in cell A2?
A=MONTH(A2)
B=YEAR(A2)
C=DAY(A2)
D=WEEKDAY(A2)
Attempts:
2 left
💡 Hint

Think about which part of the date represents the month.

🎯 Scenario
advanced
2:00remaining
Create a Timeline Chart with Overlapping Events
You have events with start and end dates that sometimes overlap. To visualize them clearly in a timeline chart, which approach helps avoid overlapping bars?
AUse only start dates and ignore end dates
BSort events by start date only and plot directly
CAdd a helper column assigning each event a row number to stagger bars vertically
DPlot events without any sorting or helper columns
Attempts:
2 left
💡 Hint

Think about how to separate overlapping events visually.

📊 Formula Result
advanced
1:30remaining
Calculate Days Remaining from Today
Given an event end date in cell B2, which formula correctly calculates how many days remain from today until the event ends? Assume today is 2024-06-15.
A=DATEDIF(B2, TODAY(), "D")
B=B2 - TODAY()
C=DATEDIF(TODAY(), B2, "D")
D=TODAY() - B2
Attempts:
2 left
💡 Hint

Subtract today from the end date to get remaining days.

data_analysis
expert
2:30remaining
Identify the Number of Timeline Events Longer Than 10 Days
You have a list of events with start dates in column A and end dates in column B (rows 2 to 11). Which formula correctly counts how many events last more than 10 days?
A=COUNTIFS(B2:B11, ">10", A2:A11, "<10")
B=COUNTIF(B2:B11 - A2:A11, ">10")
C=COUNTIF(B2:B11, ">10") - COUNTIF(A2:A11, ">10")
D=SUMPRODUCT((B2:B11 - A2:A11) > 10)
Attempts:
2 left
💡 Hint

Think about how to compare differences between two ranges.