Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Excel help

Thread Tools
 
Search this Thread
 
Old 17 October 2011, 03:42 PM
  #1  
jaytc2003
Scooby Regular
Thread Starter
iTrader: (1)
 
jaytc2003's Avatar
 
Join Date: Aug 2005
Location: Manchester ish
Posts: 18,547
Likes: 0
Received 0 Likes on 0 Posts
Default Excel help

Hi, I am doing a spreadsheet at work that pulls info in from external data sources.

One of the sources, has data contained in a time format and I need to break this down into the component form of the hour and also the minutes (2 seperate cells one for each).

So for an example

Cell c1 contains 12:30 formatted as time -this is data from the external source (Kronos)

I want cell a1 to contain 12 and b1 to contain 30

I have tried the left function but that doesnt work correctly, I was thinking about getting all of the times on a seperate worksheet and getting their decimals numbers and then using a vlookup against the decimal to populate the cells but that is a lot of work and possibly wont be easy to maintain in the future.

Has anyone got any suggestions?
Cheers
James
Old 17 October 2011, 03:47 PM
  #2  
jaytc2003
Scooby Regular
Thread Starter
iTrader: (1)
 
jaytc2003's Avatar
 
Join Date: Aug 2005
Location: Manchester ish
Posts: 18,547
Likes: 0
Received 0 Likes on 0 Posts
Default

looks like I have sorted it by using

=DAY(T4)*24+HOUR(T4)+MINUTE(T4)/60

this puts the time in a cell then I can use left and right in the other cells to get the info I need
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
leg200
Subaru Parts
5
07 October 2015 07:31 AM
has-scooby
Subaru Parts
4
06 October 2015 03:47 PM
bluebullet29
General Technical
9
05 October 2015 02:17 PM



Quick Reply: Excel help



All times are GMT +1. The time now is 11:03 AM.