- To post as a guest, your comment is unpublished.· 6 months agoThe text formula treats the number as a day in the year. So 1 would be 1st of January, and 365 would be 31st December. If you convert these numbers to months then 1 would be January and 365 would be December. With 2, the formula would see this as 2nd of January so would still return as January. However, with the 29, we can make this 2 58 instead, which alludes to Feb 27th. The formula will thus return this as feb. The same is applied for the numbers 1 to 12. Hope this helps
- To post as a guest, your comment is unpublished.· 3 months agoYou could also use 28 instead of 29 with the same results.
30 will fail for February and 27 will fail for December, so the only options are 28 and 29
- To post as a guest, your comment is unpublished.· 1 months ago30 should fail for February but doesn't because Excel incorrectly assumes that 1900 was a leap year.
27 actually fails for September, October, November and December
How to convert 1-12 to month name in Excel?
For example you received a sales table in which months are displayed as numbers, and you need to convert the numbers to normal month names as below screenshot shown. Any idea? This article will introduce two solutions for you.
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
Actually, we can apply the TEXT function to convert numbers (from 1 to 12) to normal month names easily in Excel. Please do as follows:
Select a blank cell next to the sales table, type the formula =TEXT(A2*29,"mmm") (Note: A2 is the first number of the Month list you will convert to month name), and then drag the AutoFill Handle down to other cells.
Now you will see the numbers (from 1 to 12) are converted to normal month names.
As you see, the TEXT function can return month name in another cell. But if you have Kutools for Excel installed, you can apply its Operation feature to replace the numbers (from 1 to 12) with month names directly.
1. Select the numbers you will convert to month names in the sales table, and click Kutools > More > Operation. See screenshot:
2. In the Operation Tools dialog box, please (1) click to highlight Custom in the Operation box; (2) type the formula =TEXT(?*29,"mmm") in the Custom box; (3) check the Create formulas option; and finally (4) click the Ok button. See screenshot:
Now you will see the month names replace the selected numbers directly. See screenshot:
You are guest
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 6 months agoCan you explain why is number 29 in this formula ?