Extracting specific data from Date and time strings

  • Thread starter Thread starter John Norfolk
  • Start date Start date
J

John Norfolk

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?
 
=HOUR(A1)

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

Hope this helps.

Pete
 
Hi,

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

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top