Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Extracting specific data from Date and time strings

Hi,

I want to extract the hours from a date time cell so that I can group data
that occured in the same hour.

How can I do this?
--
Thanks
John
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Extracting specific data from Date and time strings

=HOUR(A1)

if your date/time is in Excel format and in A1.

Hope this helps.

Pete

On Sep 24, 9:47*am, John Norfolk wrote:
Hi,

I want to extract the hours from a date time cell so that I can group data
that occured in the same hour.

How can I do this?
--
Thanks
John


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Extracting specific data from Date and time strings

Hi,

With a date/time in A1 simply put =A1 in another cell and format as hh:mm

Mike

"John Norfolk" wrote:

Hi,

I want to extract the hours from a date time cell so that I can group data
that occured in the same hour.

How can I do this?
--
Thanks
John

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Extracting specific data from Date and time strings

Sorry,

Format as hh

Mike

"Mike H" wrote:

Hi,

With a date/time in A1 simply put =A1 in another cell and format as hh:mm

Mike

"John Norfolk" wrote:

Hi,

I want to extract the hours from a date time cell so that I can group data
that occured in the same hour.

How can I do this?
--
Thanks
John

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
Extracting Specific Data from one sheet to another. Pulling Data from one sheet to another. Excel Worksheet Functions 1 July 14th 08 10:42 PM
Extracting specific data from a cell Neil Bowen Excel Worksheet Functions 5 October 30th 05 04:33 PM
Extracting Time from a cell that has both the date and the time Hani Muhtadi Excel Discussion (Misc queries) 3 September 9th 05 10:59 AM
Pivot Table - Extracting specific data JT Excel Worksheet Functions 2 June 4th 05 04:16 PM
Pivot Table - Extracting specific data JT Excel Worksheet Functions 1 June 3rd 05 06:05 PM


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