?
Solved

Adjust for Daylight Savings Time

Posted on 2011-03-20
6
Medium Priority
?
478 Views
Last Modified: 2012-08-13
Sheet >> https://spreadsheets.google.com/ccc?key=0ApGg6c9aeywQdGZ5VzcxZHljZkJjQmJ5Y2hJMFgzYUE&hl=en  

I need to allow people to select between daylight savings time ON (+1) or OFF (-1) which should adjust the time up/down by one hour on that setting.

If possible, I'd like also to rename the existing selection mouse-overs to say simply "Select A Time Zone" and nothing else.

Assistance is greatly appreciated.
0
Comment
Question by:rtod2
  • 3
  • 3
6 Comments
 
LVL 18

Expert Comment

by:Curt Lindstrom
ID: 35178298
Ok, I'm working on this right now. Will post the solution here in a few minutes

Curt
0
 

Author Comment

by:rtod2
ID: 35178340
Sorry Curt.  Off should remain unchanged and On should be (+1).  This would make a -6 default setting for central time for instance move up to -5.
0
 
LVL 18

Expert Comment

by:Curt Lindstrom
ID: 35178386
I believe I got this working now.
Formulas have changed to include a lookup from a new small table on sheet3 with ON (+ 1) and OFF (0) adding 1 or 0 to the times.
Formula as added in column G and copied down to the end of current page
=if(A2="","",text(now()+vlookup(B2,sheet3!A:B,2,false)/24+vlookup(C2,sheet3!C:D,2,false)/24+5/24,"HH:mm:ss"))
The same vlookup has been added to the formulas in column D-F

Cheers,
Curt
0
Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

 
LVL 18

Accepted Solution

by:
Curt Lindstrom earned 2000 total points
ID: 35178389
Ted,

I worked that one out :-) I'm adding 1 when ON and 0 when OFF.

Curt
0
 

Author Closing Comment

by:rtod2
ID: 35178431
Good stuff.  Can you fix the mouse-over text so that it it only shows the message to the user.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Viewers will learn the different options available in the Backstage view in Excel 2013.
Viewers will learn how to create a PivotTable and make basic changes to it in Excel 2013.

589 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