Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Expanded Drop Down Box Question

I am trying to create a drop down box that will automatical populate other
boxes.
I have a worksheet with a list of Locations with their latidue and longitude
coordinates. I am trying to make a drop down box in another worksheet where
I select the location and then excel automatically fills in the next 2 colums
with the lat/long data. Is there a way I can make this happen?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default Expanded Drop Down Box Question

Hi Rob,

I believe using VLOOKUP can do what you want.

With the location name in column A and the latitude in column B and the
longitude in column C and the drop down cell is F1...

In G1 =VLOOKUP(F1,A1:C100,2,0) for the Lat
In H1 =VLOOKUP(F1,A1:C100,3,0) for the Long

HTH
Regards,
Howard

"Rob" wrote in message
...
I am trying to create a drop down box that will automatical populate other
boxes.
I have a worksheet with a list of Locations with their latidue and
longitude
coordinates. I am trying to make a drop down box in another worksheet
where
I select the location and then excel automatically fills in the next 2
colums
with the lat/long data. Is there a way I can make this happen?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Expanded Drop Down Box Question

This requires 3 things. Data validation lists, named ranges and lookup
functions.

A data validation list will allow you to create your drop down. The issue
you will run into is that your list is on a seperate page from the drop down.
To create the named range highlight your list of locations. Just above cell
A1 is the Name box which normally just shows you the address of the active
cell. Select the address in the name box and type in Locations. You have now
created a named range called locations. On the sheet where you want the drop
down select the cell where you want the drop down and Click Data | Validation
| List and in the reference type =Locations. Hit Ok. This cell should now be
a drop down with your list of lcations in it.

Now if you lookup VLookup in XL help you should get enough info on how to
create a lookup function that will reference your location and return the Lat
/ Lon...
--
HTH...

Jim Thomlinson


"Rob" wrote:

I am trying to create a drop down box that will automatical populate other
boxes.
I have a worksheet with a list of Locations with their latidue and longitude
coordinates. I am trying to make a drop down box in another worksheet where
I select the location and then excel automatically fills in the next 2 colums
with the lat/long data. Is there a way I can make this happen?

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
toolbar not expanded beverlydawn Excel Discussion (Misc queries) 1 February 19th 09 07:57 PM
Countif expanded brownti via OfficeKB.com Excel Discussion (Misc queries) 3 December 10th 08 05:35 PM
Expanded sumproduct Steven Excel Worksheet Functions 12 October 30th 08 09:56 PM
Expanded Vlookup Brad Excel Discussion (Misc queries) 2 March 28th 08 05:53 PM
Expanded Matrix in Excel Sal[_2_] Excel Discussion (Misc queries) 0 August 12th 07 10:16 PM


All times are GMT +1. The time now is 09:31 AM.

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"