Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Formula- to create drop down down list based on diff criteria

Hi,

I needa formula where if i select a certain department all the people
in that department will appear in a drop down list in the template. i
am wondering if we could use IF function to do this....

to give more perspective i am trying to build a travel template which
can be used by all departments in the company to plan their trips but
instead of creating multiple tabs for each department i am wondering
if i could simply create one template and when anyone selects their
department it would automatically put a list of the people (similar to
the way a pivot works but cannot have a pivot as this needs to be a
column in the template.

this would be for the department heads so would make sense if they
could simply chose their department and all the list of their
employees would appear as a drop down.

Any idea?

Thanks!

Rosana
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 834
Default Formula- to create drop down down list based on diff criteria

See http://www.contextures.com/xlDataVal02.html

--

HTH

Bob

"Rosana" wrote in message
...
Hi,

I needa formula where if i select a certain department all the people
in that department will appear in a drop down list in the template. i
am wondering if we could use IF function to do this....

to give more perspective i am trying to build a travel template which
can be used by all departments in the company to plan their trips but
instead of creating multiple tabs for each department i am wondering
if i could simply create one template and when anyone selects their
department it would automatically put a list of the people (similar to
the way a pivot works but cannot have a pivot as this needs to be a
column in the template.

this would be for the department heads so would make sense if they
could simply chose their department and all the list of their
employees would appear as a drop down.

Any idea?

Thanks!

Rosana



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Formula- to create drop down down list based on diff criteria

I think your appoach depends on the way your data ist stored
somewhere. If you can get the names of the employees and the
department they belong to from a database, you could use a
SQL query with the department as parameter to retrieve only
the names belonging to the selected department. Otherwise your
code would have to select the appropriate names. Again the
details how to do this depends on the format of the data and where
you get it from.

Helmut.


"Rosana" schrieb im Newsbeitrag
...
Hi,

I needa formula where if i select a certain department all the people
in that department will appear in a drop down list in the template. i
am wondering if we could use IF function to do this....

to give more perspective i am trying to build a travel template which
can be used by all departments in the company to plan their trips but
instead of creating multiple tabs for each department i am wondering
if i could simply create one template and when anyone selects their
department it would automatically put a list of the people (similar to
the way a pivot works but cannot have a pivot as this needs to be a
column in the template.

this would be for the department heads so would make sense if they
could simply chose their department and all the list of their
employees would appear as a drop down.

Any idea?

Thanks!

Rosana



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
create list based on criteria Bexi Excel Worksheet Functions 1 January 19th 10 08:51 PM
counting dates <= 7 days ago based on criteria in a diff column Lori Excel Worksheet Functions 1 January 13th 10 12:23 AM
multiple ranking (sorting), based on diff. criteria Eddy Stan Excel Worksheet Functions 0 October 27th 09 08:56 PM
Create formula that will pull a value based on text in diff cell? So Tru Geo Excel Discussion (Misc queries) 0 June 22nd 06 08:16 PM
Create a list based on single shared criteria David127 Excel Worksheet Functions 5 December 15th 05 02:36 AM


All times are GMT +1. The time now is 03:57 AM.

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"