Calgarypuck Forums - The Unofficial Calgary Flames Fan Community

Go Back   Calgarypuck Forums - The Unofficial Calgary Flames Fan Community > Main Forums > The Off Topic Forum
Register Forum Rules FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 02-24-2006, 10:15 AM   #1
JohnnyO
Scoring Winger
 
JohnnyO's Avatar
 
Join Date: Feb 2004
Location: Calgary, AB
Exp:
Default

I am not sure if it can be done, but the Validation list would have to include some kind of vlookup. Or an if then else command.
JohnnyO is offline   Reply With Quote
Old 02-24-2006, 10:26 AM   #2
Buff
Franchise Player
 
Buff's Avatar
 
Join Date: Apr 2004
Location: I don't belong here
Exp:
Default

Quote:
Originally Posted by fotze
Is it possible to make smart drop down lists? I want the drop down list to change depending what is entered to the cell to the left of it.

I am trying to use the data validation, but can't get it to go beyond the simple drop down list.

Is this possible without going into some macro programming bidness?
Sounds a bit complicated what you're trying to do. I would imagine if you're going to do it in excel that you'd probably have to get into that macro programming bidness. I'm no excel expert though, people come to my company when they want something too complicated for Excel.
Buff is offline   Reply With Quote
Old 02-24-2006, 10:29 AM   #3
Eagle Eye
Powerplay Quarterback
 
Eagle Eye's Avatar
 
Join Date: Sep 2002
Location: Work
Exp:
Default

I would use a vlookup pointing to a table in another tab.

Something simple like this


Last edited by Eagle Eye; 02-24-2006 at 10:41 AM.
Eagle Eye is offline   Reply With Quote
Old 02-24-2006, 10:34 AM   #4
Bring_Back_Shantz
Franchise Player
 
Bring_Back_Shantz's Avatar
 
Join Date: Jul 2003
Location: In my office, at the Ministry of Awesome!
Exp:
Default

I'm not 100% sure what it is you want to do.

Do you want the whole list to change based on what is in the cell?
or
Do you want what is selectedin the dropdown box to change based on what is in the cell.

if it is the later, then all you have to do is set the linked cell (in the dropdown box properties) to that cell and as long as it's in the list it'll show up in the dropdown box.

If you want to change the whole list, you can still do it.
Set the link fill range to a certain set of cells, and then fill that range with what you need using something like this

=Vlookup(1,indirect(cell next to dropdown box),2,0)

You'll have to make all of the lists in that you want to show up in your dropdown box as named arrays that look like this

1 item 1
2 item 2
3 item 3

PM me your email address if you want a quick example.

NM it works just fine.
__________________
THE SHANTZ WILL RISE AGAIN.
<-----Check the Badge bitches. You want some Awesome, you come to me!

Last edited by Bring_Back_Shantz; 02-24-2006 at 10:44 AM.
Bring_Back_Shantz is offline   Reply With Quote
Old 02-24-2006, 10:53 AM   #5
Eagle Eye
Powerplay Quarterback
 
Eagle Eye's Avatar
 
Join Date: Sep 2002
Location: Work
Exp:
Default

Ahh I see what you are saying.

Sorry misread your post

yup that would return the first value from a list

Try this I used a nested if statement in the drop down list setup

I named the first list "team" the second list "Type' and the third list "number"

Depending on the value I select in Column F (a list) I will get a different list to pick from


Last edited by Eagle Eye; 02-24-2006 at 11:07 AM.
Eagle Eye is offline   Reply With Quote
Old 02-24-2006, 11:05 AM   #6
Eagle Eye
Powerplay Quarterback
 
Eagle Eye's Avatar
 
Join Date: Sep 2002
Location: Work
Exp:
Default

Here is what I can pick from if I select 2



Here is what I can pick from if I select 1
Eagle Eye is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:31 AM.

Calgary Flames
2024-25




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright Calgarypuck 2021 | See Our Privacy Policy