PPRuNe Forums

PPRuNe Forums (https://www.pprune.org/)
-   Computer/Internet Issues & Troubleshooting (https://www.pprune.org/computer-internet-issues-troubleshooting-46/)
-   -   Easy (I think) Excel question (https://www.pprune.org/computer-internet-issues-troubleshooting/397160-easy-i-think-excel-question.html)

WallyWumpus 27th November 2009 13:39

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.

Whirlygig 27th November 2009 13:51

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

Saab Dastard 27th November 2009 13:52

You could just do a Find & Replace of [space]Z with nothing.

SD

WallyWumpus 27th November 2009 13:55

Both suggestions bloomin' marvellous, thank you!

The Nr Fairy 29th November 2009 04:47

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.


All times are GMT. The time now is 13:26.


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