Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Joe Joe is offline
external usenet poster
 
Posts: 476
Default look up value in a table

I have a spreadsheet with Pipe Dia in one columnn a1 and pipe thickness b2
in another column. In a another sheet i have a pricing table
Pipe Thickness
Pipe Dia 3 4 6 7.5 9
4 $1 $2. $3 $4 $ 5
6 $3 $4 $5 $ 5 # 6
8 3.5 4.5 5.5 6.5 7
I would like to write index or lookup function that will return the
following. If pipe diameter in a1 =8 and pipe diamter b2 =6 it will
return $5.5
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default look up value in a table

You could use match to identify which column to return in a vlookup.
Assuming your table is in A1:F5 (pipe diameters in column A and pipe
thickness figures are in row 2):
=Vlookup(PipeDia, A3:F5, Match(PipeThickness, A2:F2, 0), 0)

"joe" wrote:

I have a spreadsheet with Pipe Dia in one columnn a1 and pipe thickness b2
in another column. In a another sheet i have a pricing table
Pipe Thickness
Pipe Dia 3 4 6 7.5 9
4 $1 $2. $3 $4 $ 5
6 $3 $4 $5 $ 5 # 6
8 3.5 4.5 5.5 6.5 7
I would like to write index or lookup function that will return the
following. If pipe diameter in a1 =8 and pipe diamter b2 =6 it will
return $5.5

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Joe Joe is offline
external usenet poster
 
Posts: 476
Default look up value in a table

thanks

it works

"JMB" wrote:

You could use match to identify which column to return in a vlookup.
Assuming your table is in A1:F5 (pipe diameters in column A and pipe
thickness figures are in row 2):
=Vlookup(PipeDia, A3:F5, Match(PipeThickness, A2:F2, 0), 0)

"joe" wrote:

I have a spreadsheet with Pipe Dia in one columnn a1 and pipe thickness b2
in another column. In a another sheet i have a pricing table
Pipe Thickness
Pipe Dia 3 4 6 7.5 9
4 $1 $2. $3 $4 $ 5
6 $3 $4 $5 $ 5 # 6
8 3.5 4.5 5.5 6.5 7
I would like to write index or lookup function that will return the
following. If pipe diameter in a1 =8 and pipe diamter b2 =6 it will
return $5.5

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
Pivit table- cell on spread sheet referencing pivot table field David M Charts and Charting in Excel 2 August 18th 07 07:46 PM
entry removed from source table remains in pivot table pull down EL in Melb. Excel Worksheet Functions 1 September 6th 06 07:59 AM
Insert rows in linked table that are added to secondary table Ida LaValley Excel Discussion (Misc queries) 2 August 21st 06 10:52 PM
Excel Pivot Table Plugin? (crosstab to data table) HoMoon115 Excel Discussion (Misc queries) 0 February 22nd 06 08:20 PM
PIVOT TABLE - Summary Table into a Databasae Table. sansk_23 Excel Worksheet Functions 4 May 9th 05 07:45 AM


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