how to return the month name in excel
Return Month Name. Return Month Name Is there an easy way to return the month name, rather than the month number as produced by this formula =month()? I know that I can set up a table and use a lookup function, but that's burdensome.
Method 1: Convert month name to number with formula. Type this formula =MONTH(DATEVALUE(A1& 1)) ( A1 indicates the cell that you want to convert the month name to number, you can change it as you need) into a blank cell, and press Enter key.
If you want to convert a column list of numbers to month names, just drag the fill handle of the formula cell to fill the range you need. See screenshot: Tip: If you want to convert number to the abbreviation of the month name, you can use this formula =TEXT(DATE(2000,A1,1),mmm). Method 2: Convert number to month name with VBA. 1. Hold ALT button and press F11 on the keyboard to open a Microsoft Visual Basic for Application window.
If you only want to display a month name, you don't need a formula â you can use a custom number format. Select the date and navigate to Format cells (Ctrl + 1 or Cmd +1), then select Custom and enter one of these custom formats: mmm // Jan mmmm // January.