Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
jas jas is offline
external usenet poster
 
Posts: 1
Default Help for formulas/layout?

I am trying to create a table with train station data and price of travel
which is to look up another sheet with the traveling details.
I have no idea what to use then how to organise this.

Details:
One sheet in the workbook has a cross reference table with stations and
cost.
The other sheet has "From station" "To station" travelled but no "Cost" data
entered. How do I get this info to refer to the data table against the
stations travelled??
VL/array/If functions, which?

Appreciate some help getting started please.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Help for formulas/layout?

And here's a formula stolen from Peo Sjoblom (and others):

=INDEX(Table,MATCH(A1,INDEX(Table,,1),0),MATCH(B1, INDEX(Table,1,),0))

If you create a range name referring to your cross reference table
(Insert|Name|Define) and call it Table, it'll make your typing life a little
easier. (But you could use the address (Sheet2!$a$1:$x$9999) in place of Table
in the formula.

And A1 will hold the value to match on the column (to get the right row) and B1
will be used to get the correct column.


jas wrote:

I am trying to create a table with train station data and price of travel
which is to look up another sheet with the traveling details.
I have no idea what to use then how to organise this.

Details:
One sheet in the workbook has a cross reference table with stations and
cost.
The other sheet has "From station" "To station" travelled but no "Cost" data
entered. How do I get this info to refer to the data table against the
stations travelled??
VL/array/If functions, which?

Appreciate some help getting started please.


--

Dave Peterson

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
Layout Squidgee Excel Discussion (Misc queries) 2 September 17th 09 10:53 AM
Page Layout Chris Excel Worksheet Functions 1 April 12th 09 06:10 PM
Can I switch from Office 2007 layout to the old 2003 layout? samanthajade Excel Discussion (Misc queries) 3 May 11th 08 09:40 PM
A4 layout mei Excel Discussion (Misc queries) 1 July 11th 05 08:49 AM
I want to copy only the layout and formulas and not the exisiting edv Excel Discussion (Misc queries) 1 June 10th 05 12:08 PM


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