Two way lookup where row isn't know?

MrPez

Board Regular
Joined
Jan 28, 2010
Messages
128
I need a formula to find a specific word in column A then find another word on that row, and then give me the column number that the second word is in.

So the first part would be =MATCH("Word1",A:A,0)

The second part would be =MATCH("Word2",Row:Row,0)
where Row is the result of the previous formula.

However, I'm struggling to combine the two formulae?
 
TBH, i'm not sure of Snakehips' suggestion or what it's trying to solve.

the match() in post#4 is looking for the exact match anyway

Forgive me if I'm being unnecessary but I was thinking of the scenario below.


Excel 2010
ABCDE
1
2
3Word2
4Word3
5Word3Word4
6Word7Word2Word5
7Word1Word7Word2Word2
8Word2
9
10
11
12
131<
144<
15
.78
Cell Formulas
RangeFormula
A13=MATCH("Word2",INDEX(A1:E10,MATCH("Word1",A1:A10,0),0))
A14=MATCH("Word2",INDEX(A1:E10,MATCH("Word1",A1:A10,0),),0)
 
Upvote 0

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Forgive me if I'm being unnecessary but I was thinking of the scenario below.


Excel 2010
ABCDE
1
2
3Word2
4Word3
5Word3Word4
6Word7Word2Word5
7Word1Word7Word2Word2
8Word2
9
10
11
12
131<
144<
15
.78
Cell Formulas
RangeFormula
A13=MATCH("Word2",INDEX(A1:E10,MATCH("Word1",A1:A10,0),0))
A14=MATCH("Word2",INDEX(A1:E10,MATCH("Word1",A1:A10,0),),0)

no no no, you were right to point it out.
please accept my apology
i just couldn't see the typo in my original formula until mod Fluff pointed it out.

it's Friday afternoon after all.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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
Back
Top