简体   繁体   中英

Stuck with Google Sheet formula

I'm stuck!! Please help me with the following:

Mm/dd/yyyy 01/01/2020

In this date, I can extract the month by =Month(01/01/2020) I will get = January

In this date, I can extract the year by =Year(01/01/2020) I will get = 2020

But my requirement is I want to extract month and year together from same date and year in a single formula.

Ie, January 2020

What formula should I use?


use:

=TEXT(A2; "mmmm yyyy")

在此处输入图片说明

for arrayformula use:

=ARRAYFORMULA(IF(A2:A="";;TEXT(A2:A; "mmmm yyyy")))

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM