Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
david
 
Posts: n/a
Default How can I add a numeric value to a TIME cell?

need to create a spreadsheet with greenwich mean and Tokyo time
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=A1+B1/24

where A1 holds London time, and B1 is the hours difference

--

HTH

RP

"david" wrote in message
...
need to create a spreadsheet with greenwich mean and Tokyo time



  #3   Report Post  
George Nicholson
 
Posts: n/a
Default

In Date/Time terms, 1 = 1 day. Therefo1 hour = 1/24.

So, time in a zone x time zones "ahead":
= Now() + (x / 24)

or, using VBA in code:
= DateAdd("h", x, Now())

or, using Excel formulas in a cell:
= Time(Hour(Now()) + x, Minute(Now()), Second(Now()))

HTH,
--
George Nicholson

Remove 'Junk' from return address.


"david" wrote in message
...
need to create a spreadsheet with greenwich mean and Tokyo time



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining date and time into one cell Kelly C Excel Discussion (Misc queries) 3 July 9th 08 09:27 PM
How do I get one cell to record the time another cell was changed. Reigning in Seattle Excel Discussion (Misc queries) 1 December 17th 04 08:45 PM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 03:48 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 01:07 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 01:07 AM


All times are GMT +1. The time now is 11:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"