Solved

Time Conversion

Posted on 2013-06-03
1
308 Views
Last Modified: 2013-06-03
I have data in sheet 13 cell a1 (see below).  I need to extract the time out of this data, which is 031752Z which is 03 is the 3rd day and 1752 is 1752 UTC time.  I am trying to take the hour which would be 17 and add 1 hour to it to get 18.  Then place that value in sheet 14 cell a1.




A1:
KOKC 031752Z 16009KT 10SM OVC250 24/15 A2996 RMK AO2 SLP134 T02440150 10244 20139 58011 $
0
Comment
Question by:sandramac
1 Comment
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 39217326
You just want the hour or the day as well? If it's the hour and the format is always consistent then try this formula for the hour - inserted in sheet14 cell A1

=MOD(MID(Sheet13!A1,8,2)+1,24)

If the format is not consistent then can you show more example?

regards, barry
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question