Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 310
Default calculate km's between two cities

I am trying to do an spreadsheet that will populate in the km's between two
cities, for instance in cells A2 and B2 I have drop down lists of several
different cites. In cell C2 I would like to have the amount of kms between
the two cities chosen in cells A2 and B2 populate into C2
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default calculate km's between two cities

And where will the info come from?

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Michelle" wrote in message
...
I am trying to do an spreadsheet that will populate in the km's between two
cities, for instance in cells A2 and B2 I have drop down lists of several
different cites. In cell C2 I would like to have the amount of kms
between
the two cities chosen in cells A2 and B2 populate into C2



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default calculate km's between two cities

Hi Michelle,

If you have a table of the distances between the cities you can use
something like this.

=INDEX(B2:F6,MATCH(H1,A2:A6,0),MATCH(H2,B1:F1,0))

Where B2:F6 are the miles, A2:A6 & B1:F1 are the cities, H1 is the first
city, H2 is the second city.

HTH
Regards,
Howard

"Michelle" wrote in message
...
I am trying to do an spreadsheet that will populate in the km's between two
cities, for instance in cells A2 and B2 I have drop down lists of several
different cites. In cell C2 I would like to have the amount of kms
between
the two cities chosen in cells A2 and B2 populate into C2



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
Purging ZIPCODES from a string of cities and zips Bruce Excel Worksheet Functions 7 November 27th 06 10:53 AM
How do I insert map detail to a map? I.e. Cities, countries etc. house_of_simone Excel Discussion (Misc queries) 4 July 21st 06 03:46 PM
Calculate Jeff Excel Discussion (Misc queries) 2 June 17th 06 10:56 PM
How can I shortlist cities based on the country selected in Excel Steve Excel Discussion (Misc queries) 1 June 30th 05 06:16 AM
How do I sort a list of cities in US by randomize in MS Excel or . Tam Excel Discussion (Misc queries) 1 April 13th 05 07:34 PM


All times are GMT +1. The time now is 07:58 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"