Finding first cell after having done that in another column

Red over White

Board Regular
Joined
Jul 16, 2011
Messages
123
Office Version
  1. 365
Platform
  1. MacOS
Having looked on Mr Excel I have found the formula



=MIN(ISNUMBER(SEARCH(R2,'All results'!A3170:A3179)),ROW('All results'!A3170:A3179))



which goes some way to solving my issue as it comes up with 3170. R2 = “2023-24”



RowColumn AColumn B
31692022-23
31702023-24
31712023-24
31722023-24National
31732023-24National


What I am try to do is hone in on cell B3172, the first cell where Column A is equal to Cell R2 and then the first cell in Column B which has an entry (can be anything).

Any suggestions?
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
How about
Excel Formula:
=INDEX('All results'!B:B,AGGREGATE(15,6,ROW('All results'!A3170:A3179)/(R2='All results'!A3170:A3179)/('All results'!B3170:B3179<>""),1))
 
Upvote 0
NATIONAL.xlsm
ABCDEF
12022-232023-24
22022-23
32023-24National Division (North) 2
42023-24National Division (North) 2
52023-24National Division (North) 2
62023-24National Division (North) 2
72023-24National Division (North) 2
82023-24National Division (North) 2
92023-24National Division (North) 2
102023-24National Division (North) 2
112023-24
122023-24
13
All results
Cell Formulas
RangeFormula
E3E3=INDEX(B:B,AGGREGATE(15,6,ROW(A1:A12)/(ISNUMBER(SEARCH(E1,A1:A12)))/(B1:B12<>""),1))
 
Upvote 0
If you want the row number use
Excel Formula:
=AGGREGATE(15,6,ROW(A1:A12)/(E1=A1:A12)/(B1:B12<>""),1)
 
Upvote 0
Solution

Forum statistics

Threads
1,215,143
Messages
6,123,277
Members
449,093
Latest member
Vincent Khandagale

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