“MMMM yy”-date in google spreadsheet

前端 未结 5 860
轮回少年
轮回少年 2021-02-01 16:42

I have a google spreadsheet in which I want a date with only the name of the month and the year, like September 2011, and I also want the month and year to be easil

5条回答
  •  忘掉有多难
    2021-02-01 17:07

    You can enter any format (for dates or others) as a Custom Number Format.

    Highlight the cell range and Go to Format > Number > More Formats > Custom Number Format. Then enter

    mmmm" "yyyy
    

    gives "September 2011"

    or any other format

    ffffd" "mm"/"dd"/"yyyy
    

    would give "Mon 09/11/2011"

    note the missing quote at the beginning and the end. it shows how it will display as you experiment. Quotes in the beginning or end give you invalid format Saves you having two fields (the data, and the text() formatted one)

    Its not intuitive (either the format, or where to put it). But works better than importing an xls.

提交回复
热议问题