Convert date to month and year in Excel and Google Sheets
=TEXT(A2*29,"yyyymm")
A2 = date cell
Check below for a detailed explanation with pictures and how to use formulas in Excel and Google Sheets.Convert date to month and year in Excel
How to convert date to month and year in Excel?Convert date to month and year in Excel
CONVERT DATE TO MONTH AND YEAR — EXCEL FORMULA AND EXAMPLE
CONVERT DATE TO MONTH AND YEAR — EXCEL FORMULA AND EXAMPLE
=TEXT(A2*29,"yyyymm")
"yyyy" = year in 4 digits
"mm" = month in 2 digits
=TEXT(A3*29,"yyyy-mm")
💡 Detailed month and year format explained here
Convert date to month and year in Google Sheets
How to convert date to month and year in Google Sheets?Convert date to month and year in Google Sheets
CONVERT DATE TO MONTH AND YEAR — GOOGLE SHEETS FORMULA AND EXAMPLE
CONVERT DATE TO MONTH AND YEAR — GOOGLE SHEETS FORMULA AND EXAMPLE
=TEXT(A2*29,"yyyymm")
"yyyy" = year in 4 digits
"mm" = month in 2 digits
=TEXT(A3*29,"yyyy-mm")
💡 Detailed month and year format explained here
Other useful DATE and TIME formulas in Excel and Google Sheets
- Combine date and time
- Convert date to text
- Convert time to text
- Convert seconds to time format
- Convert 1-12 to month name
- Convert month name to number
- Convert date to month and year
- Convert numbers of days to year/month/day
- Dynamic current date and time
- Dynamic current time
- Dynamic today and yesterday date
- Convert number stored as a text to date
- Convert weekday string to number
- Sum by month
- SUMIF cells if contains part of a text string
- Sum total sales based on quantity & price
- Count blank cell
- Count cell between two values
- Combine two or more cell
- Extract left before first space
- Extract the nth words in a text string
- Flip the first and last name
- SUMIF formulas and example
- SUMIFS formulas and example
- COUNTIF formulas and example
- IF formulas and example
- TEXT formulas and example
- CONVERT formulas and example
- Change the negative number to zero
- Change negative to positive numbers
- Calculate percentage changes for containing zero or negative values
- Count cells over 10 characters
- Count cells that are not blank
- Count if cells contain a specific text
- Count cells that begin with a specific text
- COUNTIF based on multiple criteria