ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   lookup with INDEX MATCH formule depending on 2 conditions (https://www.excelbanter.com/excel-worksheet-functions/145198-lookup-index-match-formule-depending-2-conditions.html)

Excel ESG

lookup with INDEX MATCH formule depending on 2 conditions
 

--
Shared knowledge makes you smarter

Roger Govier

lookup with INDEX MATCH formule depending on 2 conditions
 
Hi

Not much to go on here. It is lays better to post details of your actual
question in the body of the post.

As a generalisation.
If in cells B1:M1 you had Jan, Feb ..... Dec
If in cells A2:A32 you had the numbers 1 through 31

In cell O1 you Had Jun and in cell O2 you had 5
then
=INDEX($A$1:$M$32,MATCH(O2,$A$1:$A$32,0),MATCH(O1, $B$1:$M$1,0))
would return the value that is in the cell for Jun 5th.

INDEX require 2 inputs, Row and Column.
The first MATCH finds the row number, the second MATCH finds the column
number.

--
Regards

Roger Govier


"Excel ESG" wrote in message
...

--
Shared knowledge makes you smarter




Excel ESG

lookup with INDEX MATCH formule depending on 2 conditions
 
Is it possible to lookup values depending on Two conditions

e.g.

Firstname (column A) AND Lastname (B) to lookup address (C)


--

Shared knowledge makes you smarter


"Excel ESG" wrote:


--
Shared knowledge makes you smarter


Roger Govier

lookup with INDEX MATCH formule depending on 2 conditions
 
Hi

One way would be the array entered formula, where the values to be
matched are entered in D1 and E1

{=INDEX(C:C,MATCH(D1&E1,A:A&B:B,0))}

To commit or Edit an array formula, use Control,Shift,Enter (CSE) not
just Enter
Do not type the curly braces { } yourself. If you use CSE, Excel
will enter them for you
--
Regards

Roger Govier


"Excel ESG" wrote in message
...
Is it possible to lookup values depending on Two conditions

e.g.

Firstname (column A) AND Lastname (B) to lookup address (C)


--

Shared knowledge makes you smarter


"Excel ESG" wrote:


--
Shared knowledge makes you smarter




Excel ESG

lookup with INDEX MATCH formule depending on 2 conditions
 
Sorry for the empty post,

I have data in 3 columns where I would find the data depending on the first
two columns
e.g.
firstname (column A), lastname (B) to find adress (C)

--
Shared knowledge makes you smarter


"Roger Govier" wrote:

Hi

Not much to go on here. It is lays better to post details of your actual
question in the body of the post.

As a generalisation.
If in cells B1:M1 you had Jan, Feb ..... Dec
If in cells A2:A32 you had the numbers 1 through 31

In cell O1 you Had Jun and in cell O2 you had 5
then
=INDEX($A$1:$M$32,MATCH(O2,$A$1:$A$32,0),MATCH(O1, $B$1:$M$1,0))
would return the value that is in the cell for Jun 5th.

INDEX require 2 inputs, Row and Column.
The first MATCH finds the row number, the second MATCH finds the column
number.

--
Regards

Roger Govier


"Excel ESG" wrote in message
...

--
Shared knowledge makes you smarter





Excel ESG

lookup with INDEX MATCH formule depending on 2 conditions
 
Sorry for the empty post,

What I am trying to do is this:
Find data in a 3rd column depending on both first two columns e.g.

firstname (A) lasname (B) to find address (C)



--
Shared knowledge makes you smarter


"Excel ESG" wrote:


--
Shared knowledge makes you smarter


Roger Govier

lookup with INDEX MATCH formule depending on 2 conditions
 
Obviously a problem with the sever yesterday, as you have not seen my
response.
I repeat it below

One way would be the array entered formula, where the values to be
matched are entered in D1 and E1

{=INDEX(C:C,MATCH(D1&E1,A:A&B:B,0))}

To commit or Edit an array formula, use Control,Shift,Enter (CSE) not
just Enter
Do not type the curly braces { } yourself. If you use CSE, Excel
will enter them for you


--
Regards

Roger Govier


"Excel ESG" wrote in message
...
Sorry for the empty post,

What I am trying to do is this:
Find data in a 3rd column depending on both first two columns e.g.

firstname (A) lasname (B) to find address (C)



--
Shared knowledge makes you smarter


"Excel ESG" wrote:


--
Shared knowledge makes you smarter





All times are GMT +1. The time now is 09:15 PM.

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