I have a data sheet in Google Sheets that has a date time column that I need to isolate just the month and year from in a mm/yyyy format. The original column looks like this:
27/09/2021 10:13
I used the =SPLIT function to divide the date and time into two different, new columns:
=SPLIT(L2, " ")
27/09/2021
10:13:00 AM
Using the new date column, I tried to use the =TEXT function to get just the month and year.
=TEXT(M2, "mm/yyyy")
However, that just resulted in outputting the same date format with dd/mm/yyyy, instead if the mm/yyyy that I want. I've tried redefining the "format" of the cell to make it "date" but that doesn't seem to work either. There's no error message so I'm not quite sure what needs fixing. I'm not an expert and would greatly appreciate some help solving this issue.