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

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
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,224,823
Messages
6,181,184
Members
453,020
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