Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Dependent Lists & Timesheets...

Hi Everyone,

I'm currenlty creating a timesheet with 4 columns of data. Col A will
hold the Client, Col B the Team (Accounts / Marketing / Events), Col C
will be a 4 digit project number (entered manually) and Col D is the
Job code (Visit / Development / Invoice etc).

I need employees to be able to choose a client from the drop down in
A, which will then determine which list of teams they see in B. Then
make a choice in B which determines the list of jobs shown in column
D.

Employees need to account for every six minutes (!!) of their time to
allow for cross and back charging (accountants dream!).

I was able to use previous posts and Debra Dalgleish's examples to
achieve the dependent list - thanks.

The issue I'm now facing is that, so I don't annoy the employees, I
need to be able to autofill the rest of the rows (85 a day) with their
initial choice until such a time when they change clients/jobs and
make a new choice from the drop down lists. I tried adding =A3 into
A4 but the data validation wouldn't work as I think (have got brain
melt at the moment) the data validation in Debra's example
[ =IF(B3="",BusCodeList,B3) ] relies on the cells in the row being
empty...

Has anyone got any ideas? If possible I'd like to be able to achieve
this without coding.

Thanks for your time/help,

Dani

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Dependent Lists & Timesheets...

Assuming you have the worksheet set up with headings in row 1, data
validation in column A, and dependent data validation in columns B and D:

Enter a dummy record in row 2.
In A3, enter: =IF(A2="","",A2)
In B3, enter: =IF(B2="","",IF(A3<A2,"",B2))
Copy those formulas down to the last row for data entry.

Clear the dummy record.
Save that as your master copy

When the employee selects values in row 2, they'll fill down the sheet
If they select a different client further down the list, it will
overwrite the formula in column A, and the adjacent cell in column B
will show as blank, so they can select a Team.


CloudDoctor wrote:
Hi Everyone,

I'm currenlty creating a timesheet with 4 columns of data. Col A will
hold the Client, Col B the Team (Accounts / Marketing / Events), Col C
will be a 4 digit project number (entered manually) and Col D is the
Job code (Visit / Development / Invoice etc).

I need employees to be able to choose a client from the drop down in
A, which will then determine which list of teams they see in B. Then
make a choice in B which determines the list of jobs shown in column
D.

Employees need to account for every six minutes (!!) of their time to
allow for cross and back charging (accountants dream!).

I was able to use previous posts and Debra Dalgleish's examples to
achieve the dependent list - thanks.

The issue I'm now facing is that, so I don't annoy the employees, I
need to be able to autofill the rest of the rows (85 a day) with their
initial choice until such a time when they change clients/jobs and
make a new choice from the drop down lists. I tried adding =A3 into
A4 but the data validation wouldn't work as I think (have got brain
melt at the moment) the data validation in Debra's example
[ =IF(B3="",BusCodeList,B3) ] relies on the cells in the row being
empty...

Has anyone got any ideas? If possible I'd like to be able to achieve
this without coding.

Thanks for your time/help,

Dani



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Dependent Lists & Timesheets...

Thanks Debra,

I've added the formula but is doesn't seem to have changed anything -
I still can only choose the client already chosen (ie the drop down is
restricted - it doesn't show the full list).

This is the 3rd or 4th attempt at a solution for me! My original task
was to create a set of drop downs that were dependent on the original
and second choices...I had been able to make the third choice
dependent on the first choice using a combination of named ranges on
another sheet and the OFFSET, MATCH and COUNTA functions:

=OFFSET(JobCode_top,1,MATCH(BusinessCode,BusinessC ode_List,0)-1,COUNTA
(OFFSET(JobCode_rows,0,MATCH(BusinessCode,Business Code_List,
0)-1))-2,1)

The next step was making the third drop down dependent on the 2
original choices - I just haven't been able to make the leap from 2 to
3 choices. Unfortunately very similar choices are involved in the
second list but the thrid list is different; ie choose a client,
choose a team and then the jobs are different depending on which
client you have chosen. I thought I'd found the perfect solution from
your website (which is sooo helpful!) but I don't want the duplication
in the lists as I have about 11 teams and that list isn't going to get
any smaller!

I want to use this OFFSET / MATCH solution as it will let our finance
team add clients, teams and jobs easily without getting IT involved
(too much!).

Is there a solution? Or will I have to resort to coding? I can send a
sample of what I'm working on if that makes it easier! Understand if
my ramblings have not made sense!


Thanks again,

CloudDoctor

On Mar 20, 3:57 am, Debra Dalgleish wrote:
Assuming you have the worksheet set up with headings in row 1, data
validation in column A, and dependent data validation in columns B and D:

Enter a dummy record in row 2.
In A3, enter: =IF(A2="","",A2)
In B3, enter: =IF(B2="","",IF(A3<A2,"",B2))
Copy those formulas down to the last row for data entry.

Clear the dummy record.
Save that as your master copy

When the employee selects values in row 2, they'll fill down the sheet
If they select a different client further down the list, it will
overwrite the formula in column A, and the adjacent cell in column B
will show as blank, so they can select a Team.





CloudDoctor wrote:
Hi Everyone,


I'm currenlty creating a timesheet with 4 columns of data. Col A will
hold the Client, Col B the Team (Accounts / Marketing / Events), Col C
will be a 4 digit project number (entered manually) and Col D is the
Job code (Visit / Development / Invoice etc).


I need employees to be able to choose a client from the drop down in
A, which will then determine which list of teams they see in B. Then
make a choice in B which determines the list of jobs shown in column
D.


Employees need to account for every six minutes (!!) of their time to
allow for cross and back charging (accountants dream!).


I was able to use previous posts and Debra Dalgleish's examples to
achieve the dependent list - thanks.


The issue I'm now facing is that, so I don't annoy the employees, I
need to be able to autofill the rest of the rows (85 a day) with their
initial choice until such a time when they change clients/jobs and
make a new choice from the drop down lists. I tried adding =A3 into
A4 but the data validation wouldn't work as I think (have got brain
melt at the moment) the data validation in Debra's example
[ =IF(B3="",BusCodeList,B3) ] relies on the cells in the row being
empty...


Has anyone got any ideas? If possible I'd like to be able to achieve
this without coding.


Thanks for your time/help,


Dani


--
Debra Dalgleish
Contextureshttp://www.contextures.com/tiptech.html- Hide quoted text -

- Show quoted text -



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Dependent Lists & Timesheets...

Okay, if you want to email your sample file, I'll take a look, and will
post any questions or comments here.

CloudDoctor wrote:
Thanks Debra,

I've added the formula but is doesn't seem to have changed anything -
I still can only choose the client already chosen (ie the drop down is
restricted - it doesn't show the full list).

This is the 3rd or 4th attempt at a solution for me! My original task
was to create a set of drop downs that were dependent on the original
and second choices...I had been able to make the third choice
dependent on the first choice using a combination of named ranges on
another sheet and the OFFSET, MATCH and COUNTA functions:

=OFFSET(JobCode_top,1,MATCH(BusinessCode,BusinessC ode_List,0)-1,COUNTA
(OFFSET(JobCode_rows,0,MATCH(BusinessCode,Business Code_List,
0)-1))-2,1)

The next step was making the third drop down dependent on the 2
original choices - I just haven't been able to make the leap from 2 to
3 choices. Unfortunately very similar choices are involved in the
second list but the thrid list is different; ie choose a client,
choose a team and then the jobs are different depending on which
client you have chosen. I thought I'd found the perfect solution from
your website (which is sooo helpful!) but I don't want the duplication
in the lists as I have about 11 teams and that list isn't going to get
any smaller!

I want to use this OFFSET / MATCH solution as it will let our finance
team add clients, teams and jobs easily without getting IT involved
(too much!).

Is there a solution? Or will I have to resort to coding? I can send a
sample of what I'm working on if that makes it easier! Understand if
my ramblings have not made sense!


Thanks again,

CloudDoctor

On Mar 20, 3:57 am, Debra Dalgleish wrote:

Assuming you have the worksheet set up with headings in row 1, data
validation in column A, and dependent data validation in columns B and D:

Enter a dummy record in row 2.
In A3, enter: =IF(A2="","",A2)
In B3, enter: =IF(B2="","",IF(A3<A2,"",B2))
Copy those formulas down to the last row for data entry.

Clear the dummy record.
Save that as your master copy

When the employee selects values in row 2, they'll fill down the sheet
If they select a different client further down the list, it will
overwrite the formula in column A, and the adjacent cell in column B
will show as blank, so they can select a Team.





CloudDoctor wrote:

Hi Everyone,


I'm currenlty creating a timesheet with 4 columns of data. Col A will
hold the Client, Col B the Team (Accounts / Marketing / Events), Col C
will be a 4 digit project number (entered manually) and Col D is the
Job code (Visit / Development / Invoice etc).


I need employees to be able to choose a client from the drop down in
A, which will then determine which list of teams they see in B. Then
make a choice in B which determines the list of jobs shown in column
D.


Employees need to account for every six minutes (!!) of their time to
allow for cross and back charging (accountants dream!).


I was able to use previous posts and Debra Dalgleish's examples to
achieve the dependent list - thanks.


The issue I'm now facing is that, so I don't annoy the employees, I
need to be able to autofill the rest of the rows (85 a day) with their
initial choice until such a time when they change clients/jobs and
make a new choice from the drop down lists. I tried adding =A3 into
A4 but the data validation wouldn't work as I think (have got brain
melt at the moment) the data validation in Debra's example
[ =IF(B3="",BusCodeList,B3) ] relies on the cells in the row being
empty...


Has anyone got any ideas? If possible I'd like to be able to achieve
this without coding.


Thanks for your time/help,


Dani


--
Debra Dalgleish
Contextureshttp://www.contextures.com/tiptech.html- Hide quoted text -

- Show quoted text -






--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

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
dependent lists - error?? Steve_n_KC Excel Discussion (Misc queries) 0 June 28th 07 09:24 PM
Dependent lists [email protected] Excel Programming 2 March 13th 07 02:06 PM
Dependent dropdown lists Matt Excel Worksheet Functions 1 December 21st 06 08:07 PM
Dependent dropdown lists Axel Excel Discussion (Misc queries) 1 May 18th 06 04:31 PM
Dependent lists AppraiserRon Excel Worksheet Functions 1 June 2nd 05 03:36 PM


All times are GMT +1. The time now is 12:30 PM.

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

About Us

"It's about Microsoft Excel"