ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Lookup Price based on two values (https://www.excelbanter.com/excel-discussion-misc-queries/210446-lookup-price-based-two-values.html)

tomhelle

Lookup Price based on two values
 
Have a data table on sheet 2 as follows:

Material 1 Thickness 1 Price 1
Material 1 Thickness 2 Price 2
Material 2 Thickness 1 Price 3

On sheet 1, I will specify the desired Material and Thickness but need a
formula to lookup the associated price.

Example: If I specify Material 1 and Thickness 2, I want a result of Price 2.

Many thanks in advance.


Mike

Lookup Price based on two values
 
Check this site out
http://www.excel-examples.com/excel-...sumproduct.htm

"tomhelle" wrote:

Have a data table on sheet 2 as follows:

Material 1 Thickness 1 Price 1
Material 1 Thickness 2 Price 2
Material 2 Thickness 1 Price 3

On sheet 1, I will specify the desired Material and Thickness but need a
formula to lookup the associated price.

Example: If I specify Material 1 and Thickness 2, I want a result of Price 2.

Many thanks in advance.


smartin

Lookup Price based on two values
 
tomhelle wrote:
Have a data table on sheet 2 as follows:

Material 1 Thickness 1 Price 1
Material 1 Thickness 2 Price 2
Material 2 Thickness 1 Price 3

On sheet 1, I will specify the desired Material and Thickness but need a
formula to lookup the associated price.

Example: If I specify Material 1 and Thickness 2, I want a result of Price 2.

Many thanks in advance.


Take a look at
http://xldynamic.com/source/xld.SUMPRODUCT.html

T. Valko

Lookup Price based on two values
 
Try this...

Sheet1:

A1 = Material 1
B1 = Thickness 2

Table on Sheet2 in the range A1:C3

=SUMPRODUCT(--(Sheet2!A1:A3=A1),--(Sheet2!B1:B3=B1),Sheet2!C1:C3)


--
Biff
Microsoft Excel MVP


"tomhelle" wrote in message
...
Have a data table on sheet 2 as follows:

Material 1 Thickness 1 Price 1
Material 1 Thickness 2 Price 2
Material 2 Thickness 1 Price 3

On sheet 1, I will specify the desired Material and Thickness but need a
formula to lookup the associated price.

Example: If I specify Material 1 and Thickness 2, I want a result of Price
2.

Many thanks in advance.





All times are GMT +1. The time now is 08:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com