MONTH() Problem

calming.insanity

New Member
Joined
Apr 27, 2007
Messages
22
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

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
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?
 
Upvote 0
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..
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,214,789
Messages
6,121,605
Members
449,038
Latest member
Arbind kumar

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top