0
0
Google Sheetsspreadsheet~10 mins

YEAR, MONTH, DAY extraction in Google Sheets - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the formula to extract the year from a date in cell A1.

Google Sheets
=YEAR([1])
Drag options to blanks, or click blank then click option'
AA1
BB1
CDATE
DTODAY()
Attempts:
3 left
💡 Hint
Common Mistakes
Using a function name instead of a cell reference.
Referencing the wrong cell.
2fill in blank
medium

Complete the formula to extract the month from a date in cell B2.

Google Sheets
=MONTH([1])
Drag options to blanks, or click blank then click option'
ANOW()
BDATE
CB2
DA2
Attempts:
3 left
💡 Hint
Common Mistakes
Using a function name instead of a cell reference.
Referencing the wrong cell.
3fill in blank
hard

Fix the error in the formula to extract the day from a date in cell C3.

Google Sheets
=DAY([1])
Drag options to blanks, or click blank then click option'
AC3
BC4
CDATE
DTODAY()
Attempts:
3 left
💡 Hint
Common Mistakes
Referencing the wrong cell.
Using a function name instead of a cell reference.
4fill in blank
hard

Fill both blanks to create a formula that extracts the year and month from cell D5 and combines them as "Year-Month".

Google Sheets
=YEAR([1])&"-"&MONTH([2])
Drag options to blanks, or click blank then click option'
AD5
BE5
CF5
DTODAY()
Attempts:
3 left
💡 Hint
Common Mistakes
Using different cells for year and month.
Using a function name instead of a cell reference.
5fill in blank
hard

Fill all three blanks to create a formula that extracts year, month, and day from cell E7 and formats them as "YYYY/MM/DD".

Google Sheets
=YEAR([1])&"/"&TEXT(MONTH([2]), "00")&"/"&TEXT(DAY([3]), "00")
Drag options to blanks, or click blank then click option'
AE7
BF7
CG7
DTODAY()
Attempts:
3 left
💡 Hint
Common Mistakes
Using different cells for year, month, and day.
Not using TEXT to format month and day with two digits.