Date to 3 digits

xoxo

Board Regular
Joined
Mar 29, 2009
Messages
198
Hi, please someone help me with this obstacle.

On A1, I have the date in this format 8/6/11 and on B1 I like to have the month and day combined into 3 digits in this format 806. Is there a formula for B1 to list 806 from 8/6/11?

When the date gets to 8/16/11 B1 should have 816.
When the month is in two digit, I just want the second digit (12/1/11 = 201 on B1).

Appreciate any help!
xoxo
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Give this formula a try....

=RIGHT(TEXT(D3,"mdd"),3)
 
Last edited:
Upvote 0
Thank you very much VoG & Rick Rothstein! Where you guys learn this stuff. It's amazing!
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,750
Members
452,940
Latest member
rootytrip

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