Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default two dimension look up table

Can anyone tell me how to lookup a value with two variable options. i am
specifically looking at a type of car engine and the engine size:

Petrol Diesel LPG
up to 1400cc
1400cc-2000cc
over 2000cc

What formula do I need to pick up the value for one indivdual who drives a
diesel car with an engine size of 1600cc, or another who drives a petrol car
with an egine size of 1300cc? I am using Microsoft Excel 2003.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default two dimension look up table

Try this:

With
This table in A1:D4
(blank) Petrol Diesel LPG
0 1 2 3
1400 4 5 6
2001 7 8 9

F1: (an engine size)
G1: (a fuel type)
This formula returns the value at the intersection of
engine size and fuel type:
H1: =VLOOKUP(F1,$A$1:$D$4,MATCH(G1,$A$1:$D$1,0),1)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Dave Jepson" wrote:

Can anyone tell me how to lookup a value with two variable options. i am
specifically looking at a type of car engine and the engine size:

Petrol Diesel LPG
up to 1400cc
1400cc-2000cc
over 2000cc

What formula do I need to pick up the value for one indivdual who drives a
diesel car with an engine size of 1600cc, or another who drives a petrol car
with an egine size of 1300cc? I am using Microsoft Excel 2003.

Thanks

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
How do I link a cell outside a pivot table to one inside the table GPGTDRVR Excel Discussion (Misc queries) 3 August 17th 06 02:45 AM
Custom field in Pivot Table? [email protected] Excel Discussion (Misc queries) 1 August 8th 06 07:20 PM
Pivot Table external XLS file source change and GETPIVOTDATA refresh mbobro Excel Discussion (Misc queries) 0 July 8th 06 12:45 PM
Derived Columns in Pivot Table sa02000 Excel Discussion (Misc queries) 1 February 8th 06 07:18 PM
Change Data In Pivot Table John Calder New Users to Excel 1 July 7th 05 10:41 PM


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