ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do i use the If function to Lookup in a chart (https://www.excelbanter.com/excel-worksheet-functions/184043-how-do-i-use-if-function-lookup-chart.html)

kethrydrake

How do i use the If function to Lookup in a chart
 
I am using Excel 2007. My chart looks like this:
A B C 1 2
1 1 .5 ? .5 8 9
1 9 10

I want to use the values in A1 & B1 to generate the appropriate reference in
C1. So if A1=1 and B1=.5, then C1 should equal the value in the appropriate
cell in the second table.




T. Valko

How do i use the If function to Lookup in a chart
 
I'm guessing that you want the value at the intersection of 1 (A1) and 0.5
(B1).

With your table in the range E1:G3...

=VLOOKUP(B1,E1:G3,MATCH(A1,E1:G1,0),0)

Returns 8.

--
Biff
Microsoft Excel MVP


"kethrydrake" wrote in message
...
I am using Excel 2007. My chart looks like this:
A B C 1 2
1 1 .5 ? .5 8 9
1 9 10

I want to use the values in A1 & B1 to generate the appropriate reference
in
C1. So if A1=1 and B1=.5, then C1 should equal the value in the
appropriate
cell in the second table.







All times are GMT +1. The time now is 02:06 AM.

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