#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default List Value

hello,
I have a unique list of City and States as follows
Col A Col B
City State
Boston MA
Quincy MA

Albany NY
Buffalo NY

I want to perform this scenario: Col A is a drop down box with all the
Cities. When user selects from the drop down City Boston, MA fills out in col
B. If the user selects Albany, NY fills out the next cell on the right of
city in col B. It will make it easier for the users, because right now therer
are a lot of wrong mapping from the users end.
Your help is very much appreceated as always. All the posts have been very
helpful to me.
Thank you
Bob



--
Bob
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default List Value

maybe something like this may help

http://www.contextures.on.ca/xlDataVal02.html

--


Gary


"Bob" wrote in message
...
hello,
I have a unique list of City and States as follows
Col A Col B
City State
Boston MA
Quincy MA

Albany NY
Buffalo NY

I want to perform this scenario: Col A is a drop down box with all the
Cities. When user selects from the drop down City Boston, MA fills out in
col
B. If the user selects Albany, NY fills out the next cell on the right of
city in col B. It will make it easier for the users, because right now
therer
are a lot of wrong mapping from the users end.
Your help is very much appreceated as always. All the posts have been very
helpful to me.
Thank you
Bob



--
Bob



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default List Value

in the adjacent cell where you want the state

=if(cell with dropdown = "","",vlookup(cell with dropdown,A:B,2,False))

so if the cell with the dropdown is in J2, then in K2

=if(J2= "","",vlookup(J2,A:B,2,False))

I could see problems with, for example Kansas City (Missouri or Kansas?)

--
Regards,
Tom Ogilvy


"Bob" wrote in message
...
hello,
I have a unique list of City and States as follows
Col A Col B
City State
Boston MA
Quincy MA

Albany NY
Buffalo NY

I want to perform this scenario: Col A is a drop down box with all the
Cities. When user selects from the drop down City Boston, MA fills out in

col
B. If the user selects Albany, NY fills out the next cell on the right of
city in col B. It will make it easier for the users, because right now

therer
are a lot of wrong mapping from the users end.
Your help is very much appreceated as always. All the posts have been

very
helpful to me.
Thank you
Bob



--
Bob



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
Comparing List A to List B and add what's missing from List B Gilbert Excel Discussion (Misc queries) 2 July 20th 09 11:18 PM
Comparing List A to List B and add what's missing from List B Gilbert Excel Discussion (Misc queries) 1 July 20th 09 08:41 PM
validation list--list depends on the selection of first list Michael New Users to Excel 2 April 27th 06 10:23 PM
list 1 has 400 names List 2 has 4000. find manes from list 1 on 2 Ed Excel Worksheet Functions 5 September 12th 05 09:48 AM
find names on list 1 in list 2. list 1 4000 names list 2 400 name Ed Excel Worksheet Functions 1 September 4th 05 12:48 AM


All times are GMT +1. The time now is 04:32 PM.

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"