Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ac ac is offline
external usenet poster
 
Posts: 18
Default Converting date to text

I would like to create a unique ID by combining Name & birthday.

For : Abc Def birthday 1/1/08

I would like it to read ADef010108. I can get everything in, except the
date is always formated into serial number. is there anything i can do to
make it the way i want it? Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default Converting date to text

Use
Text(A1,"mmddyy") in your formula

like
=B1&Text(A1,"mmddyy")
if A1 has date and B1 has ADef

"ac" wrote:

I would like to create a unique ID by combining Name & birthday.

For : Abc Def birthday 1/1/08

I would like it to read ADef010108. I can get everything in, except the
date is always formated into serial number. is there anything i can do to
make it the way i want it? Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Converting date to text

Assuming:
A1: holds Abc Def
B1: holds Date

=LEFT(A1)&MID(A1,FIND(" ",A1)+1,99)&TEXT(B1,"mmddyy")


"ac" wrote:

I would like to create a unique ID by combining Name & birthday.

For : Abc Def birthday 1/1/08

I would like it to read ADef010108. I can get everything in, except the
date is always formated into serial number. is there anything i can do to
make it the way i want it? Thank you.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting a date to a text field w/o converting it to a julian da LynnMinn Excel Worksheet Functions 2 March 6th 08 03:43 PM
converting date to text TB Excel Worksheet Functions 1 July 16th 07 12:30 PM
Converting TEXT to DATE GFH Excel Worksheet Functions 3 January 4th 07 01:29 PM
Converting text into Date Value Shams Excel Worksheet Functions 1 December 14th 05 09:42 PM
Converting text into Date Value Ron Coderre Excel Worksheet Functions 0 December 14th 05 09:10 PM


All times are GMT +1. The time now is 07:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"