How must i do this ... search for and than find ...

arcootje

Board Regular
Joined
Jun 2, 2004
Messages
110
Table:


Name Pietersen Jansen Klaasen
Jan 10 20 30
Piet 11 12 13
Klaas 50 51 53

I want to search for (example ) Jansen and than for Piet.
The result must be 12

Can this be done in a formula?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
Like this:

=INDEX(A1:D4,MATCH("Piet",A1:A4,0),MATCH("Jansen",A1:D1,0))

"Piet" and "Jansen" can be cell references.
 

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
49,424
Office Version
  1. 365
Platform
  1. Windows
arcootje

Try this. Formula in H3: =INDEX(A1:D4,MATCH(H2,A1:A4,0),MATCH(H1,A1:D1,0))
Mr Excel.xls
ABCDEFGHI
1NamePietersenJansenKlaasenRow 1Jansen
2Jan102030Column APiet
3Piet111213Result12
4Klaas505153
5
Sheet4
 

Forum statistics

Threads
1,136,353
Messages
5,675,285
Members
419,559
Latest member
BraytonM

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top