Date format in American instead of U.K. ... or bug?

shobolos

Active Member
Joined
Sep 7, 2010
Messages
274
Can anyone resolve or explain what is going on here, or is it just a bug?

I need the following set-up like it is, but in cell C1 I get the month January displayed as opposed to August.


abc
108-AugAugustJanuary
Data / Formula08/08/2015=a1=month(b1)
Formatdd-mmmmmmmmmmm

<tbody>
</tbody>
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
40,681
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
Month returns the month number (8 in this case). If you format 8 as mmmm, Excel will treat 8 as 8 days since 1/1/1900, since that is how it stores dates, which will be in January.
 
Upvote 0

SpillerBD

Well-known Member
Joined
Jul 2, 2014
Messages
2,851
Office Version
  1. 365
Platform
  1. Windows
To restate Rory's comment, your formula in column C is wrong. it should be
=Month (A1)
but that gives the numeric value still of 8. Which means that if you want eight to correspond to "AUGUST", you have to use a list and the CHOOSE function.
 
Last edited:
Upvote 0

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
40,681
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
Change the formula to =TEXT(A1,"mmmm"). I don't really see why you need this duplication though.
 
Upvote 0

Forum statistics

Threads
1,195,699
Messages
6,011,188
Members
441,593
Latest member
kwest3904

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
Top