Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / March 2006

Tip: Looking for answers? Try searching our database.

Simple Question, display only part of a date in Number format

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DB Explorer - 17 Mar 2006 11:16 GMT
Hi

This might be a very simple question to most of you, but I am a novice
user.

If A1 has date in the format 04-Jan-06, then how do I have B1 display
only the first two characters "04" in number format, which means 4?

Cheers
Sunny
AndyB - 17 Mar 2006 11:19 GMT
Hi
Just use  =A1  in B1 and format B1 as dd

Andy.

> Hi
>
[quoted text clipped - 6 lines]
> Cheers
> Sunny
DB Explorer - 17 Mar 2006 11:22 GMT
Thanks Andy,

This works, and displays 04, but I am unable to use this for
mathematical functions, it needs to be a number format
AndyB - 17 Mar 2006 11:32 GMT
Hi

THis is a bit cumbersome, but it works:
=VALUE(TEXT(A1,"dd"))

Andy.

> Thanks Andy,
>
> This works, and displays 04, but I am unable to use this for
> mathematical functions, it needs to be a number format
DB Explorer - 17 Mar 2006 11:42 GMT
Thanks Andy, this works perfectly, fine.

Sunny
Roger Govier - 17 Mar 2006 12:38 GMT
Hi Sunny

Or you could simplify it to just =DAY(A1)

Signature

Regards

Roger Govier

> Thanks Andy, this works perfectly, fine.
>
> Sunny
Andy - 17 Mar 2006 12:47 GMT
I knew there would be a smarter way!!

Andy.

> Hi Sunny
>
[quoted text clipped - 3 lines]
>>
>> Sunny
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.