Vlookup return row number

ddoyle67

New Member
Joined
Apr 4, 2013
Messages
48
Office Version
  1. 365
Platform
  1. Windows
I have a formula =VLOOKUP("ALTERNATE",E11:E1000,1,FALSE) which will find if the word "alternate" appears in column E. But I would like the result to return the row number that it finds the "Alternate" in so that it can feed into a couple other formulas that use that row number to stop the calculations above the row with "Alternate".
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
use MATCH or XMATCH:
Excel Formula:
=MATCH("ALTERNATE",E11:E1000,0)
Excel Formula:
=XMATCH("ALTERNATE",E11:E1000,0)
 
Upvote 0
Do you want the actual Excel row number or the row number in the array E11 - E1000.
See attached examples.

Book1
ABCDEFGH
1
2
3
4
5
6
7
8
9Row #Actual
10in ArrayRow #
11Test 1616
12Test 2
13Test 3
14Test 4
15Test 5
16ALTERNATE
17test 7
18test 8
19test 9
20test 10
Sheet3
Cell Formulas
RangeFormula
G11G11=MATCH("ALTERNATE",E11:E1000,0)
H11H11=MATCH("ALTERNATE",E1:E1000,0)
 
Upvote 0
Solution
Thank you both. Yes I wanted the actual row. E11 started my data so that was why i started my range there. I was able to use this when added on to, to get the results i wanted.
 
Upvote 0
You're welcome. Glad we could help. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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