Bird
Raised Fist0
Google Sheetsspreadsheet~8 mins

TEXT formatting for dates in Google Sheets - Dashboard Guide

Choose your learning style10 modes available
Dashboard Mode - TEXT formatting for dates
Goal

Show how to display dates in different text formats using the TEXT function in Google Sheets.

Sample Data
DateEvent
2024-01-15Project Start
2024-02-28First Review
2024-03-10Mid Project
2024-04-25Final Submission
2024-05-05Project Close
Dashboard Components
  • Original Date Column: Shows raw dates from A2:A6.
  • Formatted Date - Full Month Name: Uses =TEXT(A2,"mmmm dd, yyyy") to show dates like "January 15, 2024".
  • Formatted Date - Short Date: Uses =TEXT(A2,"mm/dd/yy") to show dates like "01/15/24".
  • Formatted Date - Day and Month: Uses =TEXT(A2,"ddd, mmm d") to show dates like "Mon, Jan 15".
  • Formatted Date - Year Only: Uses =TEXT(A2,"yyyy") to show just the year like "2024".
Dashboard Layout
+----------------+--------------------------+----------------+---------------------+-----------------+
| Original Date  | Full Month Name Format   | Short Date     | Day and Month Format | Year Only       |
+----------------+--------------------------+----------------+---------------------+-----------------+
| 2024-01-15     | January 15, 2024         | 01/15/24       | Mon, Jan 15         | 2024            |
| 2024-02-28     | February 28, 2024        | 02/28/24       | Wed, Feb 28         | 2024            |
| 2024-03-10     | March 10, 2024           | 03/10/24       | Sun, Mar 10         | 2024            |
| 2024-04-25     | April 25, 2024           | 04/25/24       | Thu, Apr 25         | 2024            |
| 2024-05-05     | May 05, 2024             | 05/05/24       | Sun, May 5          | 2024            |
+----------------+--------------------------+----------------+---------------------+-----------------+
Interactivity

Adding a filter by Event name will update all formatted date columns to show only the selected events' dates in their respective formats.

Self Check

If you add a filter to show only "Mid Project" and "Final Submission" events, which rows and formatted dates remain visible in the dashboard?

Key Result
Dashboard showing original dates and their different text formats using the TEXT function in Google Sheets.

Practice

(1/5)
1. What does the formula =TEXT(A1, "dd/mm/yyyy") do when A1 contains a date?
easy
A. It changes how the date looks by showing day, month, and year in that order.
B. It converts the date into a number representing days since 1900.
C. It adds the day, month, and year values together as numbers.
D. It changes the date value to text but keeps the original date format.

Solution

  1. Step 1: Understand the TEXT function usage

    The TEXT function formats the date in A1 using the pattern "dd/mm/yyyy" which means day/month/year.
  2. Step 2: Recognize the output type

    The output is text showing the date in the specified format, not a number or calculation.
  3. Final Answer:

    It changes how the date looks by showing day, month, and year in that order. -> Option A
  4. Quick Check:

    TEXT formats date display = It changes how the date looks by showing day, month, and year in that order. [OK]
Hint: TEXT changes date appearance without altering the date value [OK]
Common Mistakes:
  • Thinking TEXT changes the date value itself
  • Confusing date formatting with date calculations
  • Assuming output is a number instead of text
2. Which of these is the correct formula to display the date in cell B2 as "March 15, 2024" in Google Sheets?
easy
A. =TEXT(B2, "mm dd yyyy")
B. =TEXT(B2, "MMM-dd-yyyy")
C. =TEXT(B2, "dd/MM/yyyy")
D. =TEXT(B2, "MMMM dd, yyyy")

Solution

  1. Step 1: Identify the format for full month name

    "MMMM" shows the full month name like "March"; "dd" is day with two digits; "yyyy" is four-digit year.
  2. Step 2: Match the format to the desired output

    "March 15, 2024" matches "MMMM dd, yyyy" exactly.
  3. Final Answer:

    =TEXT(B2, "MMMM dd, yyyy") -> Option D
  4. Quick Check:

    Full month name format = =TEXT(B2, "MMMM dd, yyyy") [OK]
Hint: "MMMM" means full month name, "MMM" means short month [OK]
Common Mistakes:
  • Using "mm" which shows month as number, not name
  • Forgetting the comma in the format string
  • Using wrong case letters in format codes
3. If cell C3 contains the date 2024-12-01, what will the formula =TEXT(C3, "ddd, mmm d") display?
medium
A. Sun, Dec 1
B. Sunday, December 01
C. Sun, 12 1
D. 12/01/2024

Solution

  1. Step 1: Decode the format codes

    "ddd" shows the short day name (Sun), "mmm" shows short month name (Dec), "d" shows day without leading zero (1).
  2. Step 2: Apply to the date 2024-12-01

    December 1, 2024 is a Sunday, so output is "Sun, Dec 1".
  3. Final Answer:

    Sun, Dec 1 -> Option A
  4. Quick Check:

    Short day and month names = Sun, Dec 1 [OK]
Hint: "ddd" = short weekday, "mmm" = short month name [OK]
Common Mistakes:
  • Using "ddd" and expecting full day name
  • Confusing "d" with "dd" for day formatting
  • Assuming output remains a date, not text
4. The formula =TEXT(D4, "mm/dd/yyyy") returns an error. Which fix will correct it?
medium
A. Change the format string to "MM/DD/YYYY"
B. Remove the quotes around the format string
C. Ensure D4 contains a valid date value
D. Use =TEXT(D4, mm/dd/yyyy) without quotes

Solution

  1. Step 1: Check formula syntax

    The formula syntax is correct with quotes around the format string and correct format codes (lowercase mm, dd, yyyy).
  2. Step 2: Verify cell content

    If D4 does not contain a valid date, TEXT will error. Fix is to ensure D4 has a proper date value.
  3. Final Answer:

    Ensure D4 contains a valid date value -> Option C
  4. Quick Check:

    Valid date input needed = Ensure D4 contains a valid date value [OK]
Hint: TEXT needs a valid date input, not text or empty [OK]
Common Mistakes:
  • Removing quotes around format string causing syntax error
  • Changing format codes to uppercase incorrectly
  • Ignoring invalid or empty cell input
5. You want to create a list of dates in column A and show their weekday names in column B using TEXT. Which formula in B2 correctly shows the full weekday name for the date in A2?
hard
A. =TEXT(A2, "ddd")
B. =TEXT(A2, "dddd")
C. =TEXT(A2, "wwww")
D. =TEXT(A2, "day")

Solution

  1. Step 1: Understand weekday format codes

    "ddd" gives short weekday name (Mon), "dddd" gives full weekday name (Monday).
  2. Step 2: Choose the code for full weekday name

    To show full weekday name, use "dddd" in the TEXT formula.
  3. Final Answer:

    =TEXT(A2, "dddd") -> Option B
  4. Quick Check:

    Full weekday name needs "dddd" = =TEXT(A2, "dddd") [OK]
Hint: "dddd" = full weekday name, "ddd" = short weekday [OK]
Common Mistakes:
  • Using "ddd" and expecting full weekday name
  • Using invalid format codes like "wwww" or "day"
  • Forgetting quotes around format string
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard