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 / New Users / December 2005

Tip: Looking for answers? Try searching our database.

Date Conversion - sorry

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DTTODGG - 13 Dec 2005 19:15 GMT
OK, guys, I've read a plethora of posts about DATE, but can't find one that
suits my situation. It's probably out there somewhere,... please help.

I have a cell D2 it's formated as a date 03/01/04 field
I have another numeric field in K5 (just numbers e.g. 3428)

I want cell J2 to be 20040301-3428.

So, do I need to convert D2 to a data yyyymmdd? then convert to text? then
add the hyphen? then add the number?

It's probably simple, but I've spent too much time on this. I keep getting
the serial date or whatever that 38,889 number is.
Niek Otten - 13 Dec 2005 19:21 GMT
=TEXT(D2,"yyyymmdd")&"-"&TEXT(K5,"#")

Signature

Kind regards,

Niek Otten

> OK, guys, I've read a plethora of posts about DATE, but can't find one
> that
[quoted text clipped - 10 lines]
> It's probably simple, but I've spent too much time on this. I keep getting
> the serial date or whatever that 38,889 number is.
Niek Otten - 13 Dec 2005 19:27 GMT
Or, if you always want to copy K2, no matter if it has decimals,

=TEXT(D2,"yyyymmdd")&"-"&K5

Signature

Kind regards,

Niek Otten

> =TEXT(D2,"yyyymmdd")&"-"&TEXT(K5,"#")
>
[quoted text clipped - 14 lines]
>> getting
>> the serial date or whatever that 38,889 number is.
bpeltzer - 13 Dec 2005 19:26 GMT
=TEXT(D2,"yyyymmdd")&"-"&K5.  If you need to force the suffix to a certain
number of digits, you could use &text(k5,"0000") instead of just &K5.

> OK, guys, I've read a plethora of posts about DATE, but can't find one that
> suits my situation. It's probably out there somewhere,... please help.
[quoted text clipped - 9 lines]
> It's probably simple, but I've spent too much time on this. I keep getting
> the serial date or whatever that 38,889 number is.
Ron Coderre - 13 Dec 2005 19:27 GMT
I have no idea what you're doing....but, I think this will do it:

=TEXT(D2,"yyyymmdd")&"-"&K5

Does that help?

***********
Regards,
Ron

> OK, guys, I've read a plethora of posts about DATE, but can't find one that
> suits my situation. It's probably out there somewhere,... please help.
[quoted text clipped - 9 lines]
> It's probably simple, but I've spent too much time on this. I keep getting
> the serial date or whatever that 38,889 number is.
DTTODGG - 13 Dec 2005 19:36 GMT
Thank you guys SOoooo much - you wouldn't want to see the combinations I've
tried. :-)

> OK, guys, I've read a plethora of posts about DATE, but can't find one that
> suits my situation. It's probably out there somewhere,... please help.
[quoted text clipped - 9 lines]
> It's probably simple, but I've spent too much time on this. I keep getting
> the serial date or whatever that 38,889 number is.
 
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



©2008 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.