# MONTH() Problem

#### calming.insanity

##### New Member
I am having problems getting the MONTH() function to work. no matter what date i reference, it comes up with january for some reason. Any ideas?

### Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

#### Gerald Higgins

##### Well-known Member
What data are you inputting between the brackets ?

#### Norie

##### Well-known Member
Well I don't see how it would come up with january since that function returns the month number.

What's the exact formula you are using?

#### calming.insanity

##### New Member
formula

i am using

Code:
``=month(b2)``

#### Gerald Higgins

##### Well-known Member
OK, so what's in B2 ?

#### Jonmo1

##### MrExcel MVP
Why don't you try

=TEXT(B2,"mmmm")

The reason month(b2) fails is because the Like Norie Said, the Month function returns a NUMBER Jan = 1, Feb = 2 etc...

so month(b2) will return a number from 1 - 12.

in excel date language,
1 = Jan 1 1900
2 = Jan 2 1900
3 = Jan 3 1900

etc...
So I'm guessing you have the cell this formula is in formatted as a date. That would make it Januaray probably..

#### calming.insanity

##### New Member
thanks

The reason month(b2) fails is because the Like Norie Said, the Month function returns a NUMBER Jan = 1, Feb = 2 etc...

so month(b2) will return a number from 1 - 12.

in excel date language,
1 = Jan 1 1900
2 = Jan 2 1900
3 = Jan 3 1900

that worked awesomely, i had forgotten about that fact....it's been a while since i had to use date info. I usually import excel files into business objects and let it sort it out. it has made me lazy.

Replies
27
Views
406
Replies
1
Views
430
Replies
1
Views
223
Replies
2
Views
540
Replies
1
Views
130

1,186,826
Messages
5,960,020
Members
438,458
Latest member
manojkumarat1999

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back