Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
gb_S49
 
Posts: n/a
Default Date & time assistance

I have in cell A1 19/04/05 23:10. in dd/mm/yy hh:mm format.
To convert only to date I have entered in B1 I have entered =a1*1
In C1 I have entered =b1 and formnatted to date.
Any idea how I can extract just the time.
The end result i am after is to seperate out the date & time to 2 seperate
cells.
Apologies if am convuluted but am new!!

  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

To get the date only, use

=Int(A1)

To get the time only, use

=A1 - Int(A1)



"gb_S49" wrote:

I have in cell A1 19/04/05 23:10. in dd/mm/yy hh:mm format.
To convert only to date I have entered in B1 I have entered =a1*1
In C1 I have entered =b1 and formnatted to date.
Any idea how I can extract just the time.
The end result i am after is to seperate out the date & time to 2 seperate
cells.
Apologies if am convuluted but am new!!

  #3   Report Post  
gb_S49
 
Posts: n/a
Default

Brilliant. Thank you

"Duke Carey" wrote:

To get the date only, use

=Int(A1)

To get the time only, use

=A1 - Int(A1)



"gb_S49" wrote:

I have in cell A1 19/04/05 23:10. in dd/mm/yy hh:mm format.
To convert only to date I have entered in B1 I have entered =a1*1
In C1 I have entered =b1 and formnatted to date.
Any idea how I can extract just the time.
The end result i am after is to seperate out the date & time to 2 seperate
cells.
Apologies if am convuluted but am new!!

  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default


"Duke Carey" wrote in message
...

To get the time only, use

=A1 - Int(A1)


=MOD(A1,1)


  #5   Report Post  
Ashish Mathur
 
Posts: n/a
Default

Hi,

Try this

In cell B1, enter TEXT(A1,"dd mm yy") for extracting the date and
TEXT(A1,"hh:mm") for extracting the time.

Regards,

"gb_S49" wrote:

I have in cell A1 19/04/05 23:10. in dd/mm/yy hh:mm format.
To convert only to date I have entered in B1 I have entered =a1*1
In C1 I have entered =b1 and formnatted to date.
Any idea how I can extract just the time.
The end result i am after is to seperate out the date & time to 2 seperate
cells.
Apologies if am convuluted but am new!!



  #6   Report Post  
Duke Carey
 
Posts: n/a
Default

Realized that about 2 seconds after hitting the Post button. Not enough
sleep last night <g



"Bob Phillips" wrote:


"Duke Carey" wrote in message
...

To get the time only, use

=A1 - Int(A1)


=MOD(A1,1)



  #7   Report Post  
gb_S49
 
Posts: n/a
Default

Thanks to all for all your help

"gb_S49" wrote:

I have in cell A1 19/04/05 23:10. in dd/mm/yy hh:mm format.
To convert only to date I have entered in B1 I have entered =a1*1
In C1 I have entered =b1 and formnatted to date.
Any idea how I can extract just the time.
The end result i am after is to seperate out the date & time to 2 seperate
cells.
Apologies if am convuluted but am new!!

  #8   Report Post  
Bob Phillips
 
Posts: n/a
Default

Too much time teading the NG boards <g


"Duke Carey" wrote in message
...
Realized that about 2 seconds after hitting the Post button. Not enough
sleep last night <g



"Bob Phillips" wrote:


"Duke Carey" wrote in message
...

To get the time only, use

=A1 - Int(A1)


=MOD(A1,1)





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
Automatically enter date and time but only update once. PM New Users to Excel 3 January 21st 05 07:47 AM
Help - Information with time and date PM Excel Discussion (Misc queries) 4 January 6th 05 08:25 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 12:07 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 12:07 AM
Combined date time cell to separate date & time components Mark Ada Excel Worksheet Functions 1 December 2nd 04 12:04 AM


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