Notices
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

Old 27th November 2009 | 13:39
  #1 (permalink)  
Thread Starter
 
Joined: Oct 2007
Posts: 117
Likes: 0
From: London
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  
Reply
Old 27th November 2009 | 13:51
  #2 (permalink)  

Hovering AND talking
20 Anniversary
 
Joined: Feb 2003
Posts: 5,711
Likes: 1
From: Propping up bars in the Lands of D H Lawrence and Bishop Bonner
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  
Reply
Old 27th November 2009 | 13:52
  #3 (permalink)  
Administrator
 
Joined: Mar 2001
Aviation Qualifications: PPL
Posts: 8,121
Likes: 686
From: Twickenham, home of rugby
You could just do a Find & Replace of [space]Z with nothing.

SD
Saab Dastard is offline  
Reply
Old 27th November 2009 | 13:55
  #4 (permalink)  
Thread Starter
 
Joined: Oct 2007
Posts: 117
Likes: 0
From: London
Both suggestions bloomin' marvellous, thank you!
WallyWumpus is offline  
Reply
Old 29th November 2009 | 04:47
  #5 (permalink)  
25 Anniversary
 
Joined: Nov 2000
Posts: 2,018
Likes: 73
From: Pewsey, UK
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 online now  
Reply

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


Thread Tools
Search this Thread

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

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