In the VBA Editor, you can type "MonthName(" to see the syntax for the MonthName Function The MonthName function contains 2 arguments Month Integer representing a month Abbreviate Optional Boolean value that indicates if the month name is to be abbreviated FALSE if ommitted Examples of Excel VBA MonthName Function You want to find the month name of each of these given dates You can do so using the following MONTH Formula in Excel = CHOOSE ( (MONTH ()), "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec") MONTH () will return 1 There are two Excel functions that can help you convert month names to numbers DATEVALUE and MONTH Excel's DATEVALUE function converts a date stored as text to a serial number that Microsoft Excel recognizes as a date And then, the MONTH function extracts a month number from that date
Returning A Fiscal Month From A Date In Excel Dummies
