Forum Discussion

Tom McManus's avatar
Tom McManus
Copper Contributor
Oct 23, 2022
Solved

Formula to create MONTH is adjacent cell

Hi,

I will be making DATE transaction entries when necessary during a month that I am tracking expenses. So say I enter a date in A2 of 8/23/2023, I would like a formula in B2 that would say August, based on the A2 entry, I tried entering =Month(A2) and it returned 8, which is correct but I wanted August.

All help appreciated.

  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    Platinum Contributor

    Tom McManus Alternatively, just enter =A1 in cell A2 and use the custom format mmmm to display the full month's name. 

  • SnowMan55's avatar
    SnowMan55
    Bronze Contributor

    Tom McManus 

    You are on the right track.  There are two obvious design alternatives:

    #1 - Use the CHOOSE function:

    =CHOOSE( MONTH(A2), "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" )

    #2 - Put the month names into a separate area of the worksheet (or on a separate worksheet), and use INDEX or another Excel lookup function:

    =INDEX( $K$1:$K$12, MONTH(A2) )

     (where the month names are in chronological order in cells K1 through K12).

     

Resources