Solved

Autopopulate columns upon time zone selection

Posted on 2011-03-21
7
268 Views
Last Modified: 2012-05-11
Currently, the columns populate when a name is typed in.  I want to change this so that the columns (D through G) populate when the time zone in column B is selected.
0
Comment
Question by:rtod2
  • 4
  • 3
7 Comments
 
LVL 18

Expert Comment

by:Curt Lindstrom
ID: 35180265
The formula in D4 now looks like this and has been copied down to D100
=if(B4="","",mid(text(now()+vlookup(B4,sheet3!A:B,2,false)/24+vlookup(C4,sheet3!C:D,2,false)/24+5/24,"'Weekday 'E"),8,10))

The formulas  in E4-G4 have also been updated to IF(B4..... and likewise been copied down to row 100.

Note that you need to select values in both columns B and C before you see any values in D-F since both columns B and C are part of the calculations.

Curt
0
 

Author Comment

by:rtod2
ID: 35181321
I didn't know that.  That makes it kludgy at best.  Do you have any other suggestions?  Is there not any way to have the default value C be 0?
0
 

Author Comment

by:rtod2
ID: 35181526
There is also some problem with the date values.  Sure do wish there was a way to protect that.  Your assistance is greatly appreciated sir.
0
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 

Author Comment

by:rtod2
ID: 35182484
Problem with auto-population remains.  Why can't column C auto-populate also with a default value of 0.  Wouldn't that make the rest of them populate?
0
 
LVL 18

Accepted Solution

by:
Curt Lindstrom earned 500 total points
ID: 35185171
I notice that you have inserted a column to the left of everything now which means that everything we talked about in previous posts is now offset by 1 (previous C is now D etc.)
The problem is that column D is a field that needs to be selected as per the data validation rule for that column. You can have it pre-selected like I have done now in your file by making the default OFF(0) for all empty rows. It cannot be hidden and appear when you enter the time zone.

The "kludgy" design of some of the solution is due to the very limited features in the google docs spreadsheet. Some things can only be done as workarounds in this application. Only column C (Time Zone) needs to be filled before the formulas appear now.

I have attached the current google docs spreadsheet as it looks in Excel. Note that some data will display different in Excel

Curt

Cheers,
Curt
Select-Time-Zone-2.xls
0
 

Author Comment

by:rtod2
ID: 35185228
OK, that works out alright.  I know the app is limited.  This sheet though needs to be shared so I couldn't do it in Excel.  That is the nature of this project.  Note that in this screenshot >>> http://screencast.com/t/zqvAo5tDmt , the scrolling usually shown to select from the list of the time zones is missing.  I am using the latest version of Firefox which could be contributing to the problem.  I notice that this only happens the first time you try to select a time zone.  If you go back to it, then the scroll bar is there.  Can that be fixed?  I think we are almost home on this one.
0
 
LVL 18

Expert Comment

by:Curt Lindstrom
ID: 35185479
This happens to me too. I don't think it's got anything to do with the browser but it is the google docs application that works that way. Not much you can do about that other than make a complaint in google docs support. I also tried it with the Google Chrome browser with the same results.

Cheers,
Curt
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

Suggested Solutions

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
Video by: Zack
Viewers will learn about various customizable options in Excel 2013.
Viewers will learn how to create a PivotTable and make basic changes to it in Excel 2013.

821 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