Excel number format help

awrosey

New Member
Joined
Jan 6, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi all, first post.

I am trying to format a range of cells so that when a user enters a date as 12/21/23, it appears in the cell as 21-DEC-23. There is a number format that results in 21-Dec-23, but I am wanting the month in CAPS. I have tried to use a custom format of d-MMM-yy, but that doesn't work. All assistance is appreciated.

Alan
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Yes, I believe the date format option will always return the date month abbreviation like that. You could use VBA to convert it to text and capitalize everything, but then it will be treated as text and not a date.
 
Upvote 0
Change the font on the cells to an all capitals font like Castellar with your custom format of d-mmm-yy

1704566912860.png
 
Upvote 0
Clever trick Mark!

Never thought about changing the font.
 
Upvote 0
Clever trick Mark!

Never thought about changing the font.
It's one Bill showed in a video a few years back ;) the all capitals fonts are all a bit weird looking though
 
Upvote 0
It's one Bill showed in a video a few years back ;) the all capitals fonts are all a bit weird looking though
If I am being completely honest, I didn't even know that there were all capital fonts (never really had need of them).
So I learned something new today!
 
Upvote 0
Thanks Mark, it is a clever trick, the only problem is the boss has specified he wants the font to be Arial. I will let him know that it is Arial with lower case or a different font and upper case. He is pretty particular, so I don't know which he will choose. This is for an invoice worksheet that he is having me revise for him. I already suggested leaving it a a text and have the sales person enter the date in the manner he prefers. I bet he will choose the lower case Arial. We'll see. In any case I have learned something for my own benefit.
 
Upvote 0
The only way I can think of to have it all caps in Ariel other than VBA is to use a formula in a separate cell but then the result will be text, not a real date

Book1
AB
155-Jan-245-JAN-24
Sheet1
Cell Formulas
RangeFormula
B15B15=UPPER(TEXT(A15,"d-mmm-yy"))


Edit:
Just out of interest the capital fonts I can see at first glance (there is another Copperplate variation as well) are

1704569654300.png
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,472
Messages
6,125,005
Members
449,203
Latest member
Daymo66

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