Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Easy (I think) Excel question

Thread Tools
 
Search this Thread
 
Old 27th Nov 2009, 13:39
  #1 (permalink)  
Thread Starter
 
Join Date: Oct 2007
Location: London
Posts: 118
Likes: 0
Received 0 Likes on 0 Posts
Easy (I think) Excel question

Hi all,

I am trying to create a spreadsheet to help me with my roster each month.

I have a spreadsheet which has times in the following format: hh:mm Z eg: 20:30 Z

In order to be able to manipulate these as true times, I would love to be able to truncate the values to just hh:mm, and get rid of the Zulu letter.

Could anyone suggest a formula to do just that?

Thanks in advance

Wally.
WallyWumpus is offline  
Old 27th Nov 2009, 13:51
  #2 (permalink)  

Hovering AND talking
 
Join Date: Feb 2003
Location: Propping up bars in the Lands of D H Lawrence and Bishop Bonner
Age: 59
Posts: 5,705
Likes: 0
Received 0 Likes on 0 Posts
As long as you have the leading zero on the hh:mm format, this is will work

In the next column, put =left(A1,5) where cell A1 has the hh:mm Z. This will return hh:mm. Use copy/paste values to then convert this to a time format.

Cheers

Whirls
Whirlygig is offline  
Old 27th Nov 2009, 13:52
  #3 (permalink)  
Spoon PPRuNerist & Mad Inistrator
 
Join Date: Sep 2003
Location: Twickenham, home of rugby
Posts: 7,390
Received 247 Likes on 165 Posts
You could just do a Find & Replace of [space]Z with nothing.

SD
Saab Dastard is offline  
Old 27th Nov 2009, 13:55
  #4 (permalink)  
Thread Starter
 
Join Date: Oct 2007
Location: London
Posts: 118
Likes: 0
Received 0 Likes on 0 Posts
Both suggestions bloomin' marvellous, thank you!
WallyWumpus is offline  
Old 29th Nov 2009, 04:47
  #5 (permalink)  
 
Join Date: Nov 2000
Location: Pewsey, UK
Posts: 1,976
Received 12 Likes on 6 Posts
To make Whirlygig's suggestion more efficient, simply format the resulting cells as "date". You can then use them as time-formatted cells directly.

It does rely on every original cell having at least 6 characters, i.e. 12:34Z.
The Nr Fairy is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.