# Excel: TEXT((2\*29), "MMMM")=February???

**URL:** https://boards.straightdope.com/t/excel-text-2-29-mmmm-february/568496
**Category:** Factual Questions
**Created:** [January 21, 2011, 8:57pm UTC](https://boards.straightdope.com/t/excel-text-2-29-mmmm-february/568496 "2011-01-21T20:57:13Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Engywook](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@Engywook](https://boards.straightdope.com/u/Engywook)
#### Post date: [January 21, 2011, 8:57pm UTC](https://boards.straightdope.com/t/excel-text-2-29-mmmm-february/568496/1 "2011-01-21T20:57:13Z")

</div>

I’m using an Excel formula to convert numbers 1 through 12 to the month names. Easy enough to do, as described [here](http://www.exceltip.com/st/Converting_a_Month's_Serial_Number_into_Its_Corresponding_Name/931.html).

So, if my date in A2 is February 2, 2011 (or 40567 for the pedants) MONTH(A2) is 2. Makes sense so far.

However, **TEXT(MONTH(A2), “mmmm”)**, which I would read allowed as “format MONTH(A2) as the full month name”, gives **January**.

The missing part, which I don’t get: MONTH(A2) has to be multiplied by 29:

\*_TEXT(MONTH(A2)29, “mmmm”)_ does get me February. Good to know, works perfectly, and saves me work… with one nagging problem. I want to know why. **Text(29, “mmmm”)** is January; **Text(58, “mmmm”)** is February. Seems a bit wonky to me… what’s the reason for this? And why 29?

---

<div class="post-metadata">

### Author: ![Rumor\_Watkins](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@Rumor\_Watkins](https://boards.straightdope.com/u/Rumor_Watkins)
#### Post date: [January 21, 2011, 9:05pm UTC](https://boards.straightdope.com/t/excel-text-2-29-mmmm-february/568496/2 "2011-01-21T21:05:28Z")

</div>

> [@Engywook](#):
>
> I’m using an Excel formula to convert numbers 1 through 12 to the month names. Easy enough to do, as described [here](http://www.exceltip.com/st/Converting_a_Month's_Serial_Number_into_Its_Corresponding_Name/931.html).
> 
> So, if my date in A2 is February 2, 2011 (or 40567 for the pedants) MONTH(A2) is 2. Makes sense so far.
> 
> However, **TEXT(MONTH(A2), “mmmm”)**, which I would read allowed as “format MONTH(A2) as the full month name”, gives **January**.
> 
> The missing part, which I don’t get: MONTH(A2) has to be multiplied by 29:
> 
> \*_TEXT(MONTH(A2)29, “mmmm”)_ does get me February. Good to know, works perfectly, and saves me work… with one nagging problem. I want to know why. **Text(29, “mmmm”)** is January; **Text(58, “mmmm”)** is February. Seems a bit wonky to me… what’s the reason for this? And why 29?

Probably because the 29th day of the year is in January, whereas the 58th day is in February. (in the year 1900)

---

<div class="post-metadata">

### Author: ![Duke](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@Duke](https://boards.straightdope.com/u/Duke)
#### Post date: [January 21, 2011, 9:06pm UTC](https://boards.straightdope.com/t/excel-text-2-29-mmmm-february/568496/3 "2011-01-21T21:06:38Z")

</div>

Isn’t that formula actually returning what month that day of the year would fall in? =text(365,“mmmm”) returns “December”, so it would make sense that Day 29 would be January and Day 58 would be February. I don’t think the number 29 actually has anything to do with it.

---

<div class="post-metadata">

### Author: ![MikeS](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@MikeS](https://boards.straightdope.com/u/MikeS)
#### Post date: [January 21, 2011, 9:08pm UTC](https://boards.straightdope.com/t/excel-text-2-29-mmmm-february/568496/4 "2011-01-21T21:08:00Z")

</div>

I think Excel is giving you the month of “Day 2” in its internal representation. The starting date, “Day 1”, is some time in January 1900 (or some other year, depending on your system.) Multiplying by 29 means that you’re looking at Days 29, 58, etc. of that year instead, which are in January, February, etc.

---

<div class="post-metadata">

### Author: ![Canadjun](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@Canadjun](https://boards.straightdope.com/u/Canadjun)
#### Post date: [January 21, 2011, 9:10pm UTC](https://boards.straightdope.com/t/excel-text-2-29-mmmm-february/568496/5 "2011-01-21T21:10:20Z")

</div>

Reading the Excel help, I don’t think you want MONTH in there, just TEXT(A2,“mmmm”)

> [@Excel help](#):
>
> Display days, months, and years To display numbers as date formats (such as days, months, and years), use the following codes in the format\_text argument.  
> m Displays the month as a number without a leading zero.  
> mm Displays the month as a number with a leading zero when appropriate.  
> mmm Displays the month as an abbreviation (Jan to Dec).  
> mmmm Displays the month as a full name (January to December).

---

<div class="post-metadata">

### Author: ![Rumor\_Watkins](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@Rumor\_Watkins](https://boards.straightdope.com/u/Rumor_Watkins)
#### Post date: [January 21, 2011, 9:11pm UTC](https://boards.straightdope.com/t/excel-text-2-29-mmmm-february/568496/6 "2011-01-21T21:11:10Z")

</div>

the reason you’re multiplying by 29 is because that’s a number that will synch up 1-12 to their appropriate months in 1900. (28 and 30 will work as well in 1900)

by multiplying, say 6 (the 6th month) by 29 days, you’ll get 174. Which is June 22.  
edit: you don’t even need the text formula. just multiply the “number months” by 29, put the answer in another column, adn format the number in that column as “mmmm”

---

<div class="post-metadata">

### Author: ![Rumor\_Watkins](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@Rumor\_Watkins](https://boards.straightdope.com/u/Rumor_Watkins)
#### Post date: [January 21, 2011, 9:12pm UTC](https://boards.straightdope.com/t/excel-text-2-29-mmmm-february/568496/7 "2011-01-21T21:12:37Z")

</div>

> [@Canadjun](#):
>
> Reading the Excel help, I don’t think you want MONTH in there, just TEXT(A2,“mmmm”)

that won’t work, because excel treats the day in A2 as if it’s the universal “excel date” (i.e. Jan 2, 1900)

---

<div class="post-metadata">

### Author: ![Engywook](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@Engywook](https://boards.straightdope.com/u/Engywook)
#### Post date: [January 21, 2011, 9:19pm UTC](https://boards.straightdope.com/t/excel-text-2-29-mmmm-february/568496/8 "2011-01-21T21:19:58Z")

</div>

Yep, that’s exactly what it is… Excel is assuming that I am converting the _n_th _day_ of the year, not the _n_th _month_ as I would have thought reasonable.

**Candadjun** , you are right, simply using A2 without any multiplication would get the same results… so knowing as I do now, my formulas have a superfluous step. Changing that now in case somebody sees this and mocks my “programming.”
