#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default dates and numbers

I've got to put 2 numbers together. they are in different cells. on is a date
vhile the other is a value e.g.

C4 has 011 and D4 has a date value of 0702 (february 2007)

when I use =D4&C4, i'd like to have 0702011, but I get 3911511

how can I have 0702011
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default dates and numbers

=TEXT(D4,"yymm") & C4

--
Gary's Student
gsnu200707


"be_mcwayne" wrote:

I've got to put 2 numbers together. they are in different cells. on is a date
vhile the other is a value e.g.

C4 has 011 and D4 has a date value of 0702 (february 2007)

when I use =D4&C4, i'd like to have 0702011, but I get 3911511

how can I have 0702011

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 196
Default dates and numbers

I think you'll need a slight modification from GS's to get the number
in the right format:

=TEXT(D4,"yymm") & TEXT(C4,"000")

Hope this helps!

Richard


On 22 Feb, 10:06, Gary''s Student
wrote:
=TEXT(D4,"yymm") & C4

--
Gary's Student
gsnu200707



"be_mcwayne" wrote:
I've got to put 2 numbers together. they are in different cells. on is a date
vhile the other is a value e.g.


C4 has 011 and D4 has a date value of 0702 (february 2007)


when I use =D4&C4, i'd like to have 0702011, but I get 3911511


how can I have 0702011- Hide quoted text -


- Show quoted text -



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default dates and numbers

Thank you for the correction.
--
Gary's Student
gsnu200707


"RichardSchollar" wrote:

I think you'll need a slight modification from GS's to get the number
in the right format:

=TEXT(D4,"yymm") & TEXT(C4,"000")

Hope this helps!

Richard


On 22 Feb, 10:06, Gary''s Student
wrote:
=TEXT(D4,"yymm") & C4

--
Gary's Student
gsnu200707



"be_mcwayne" wrote:
I've got to put 2 numbers together. they are in different cells. on is a date
vhile the other is a value e.g.


C4 has 011 and D4 has a date value of 0702 (february 2007)


when I use =D4&C4, i'd like to have 0702011, but I get 3911511


how can I have 0702011- Hide quoted text -


- Show quoted text -




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
why does dividing numbers give me dates and not numbers? dylan Excel Discussion (Misc queries) 1 June 21st 06 11:40 PM
Numbers to dates steviec334567 Excel Worksheet Functions 6 May 25th 06 09:16 PM
Numbers To Dates bodhisatvaofboogie Excel Discussion (Misc queries) 13 May 22nd 06 05:31 PM
numbers to dates montana hogs Excel Discussion (Misc queries) 3 September 15th 05 08:20 PM
Dates to numbers John Excel Worksheet Functions 0 February 8th 05 11:45 AM


All times are GMT +1. The time now is 05:41 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"