find dynamic row number

fzhou

Board Regular
Joined
Nov 6, 2003
Messages
133
Hello everyone,

I try to find the row number for a word, say, "car", in column A. The rows above "car" keep changing (row deleting or inserting). How can I locate that row number, which I will need for other formulas?

Thanks in advance.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Not quite sure what you mean, you seem to have answered your own question - match is the way to go and should do what you need
Book1
ABCDEF
1otherotherColAColBColC
2otherother71812
3otherother
4otherother
5otherotherother
6otherother
7carother
8other
9other
10other
11otherother
12othercar
13other
14other
15other
16other
17other
18car
Sheet1


Hope it helps
 
Upvote 0

Forum statistics

Threads
1,203,069
Messages
6,053,352
Members
444,655
Latest member
didr

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