Positions

alliswell

Board Regular
Joined
Mar 16, 2020
Messages
190
Office Version
  1. 2007
Platform
  1. Windows
  2. Mobile
I have names in column A, in H1 is the name i want to find in column A for example : in H1 is John i want to list all john with their position number in Column A

Thanks
 
If you click the link it will take you to Techonthenet's description of the Search function which lists all the main versions of Excel it was available in.

Microsoft only supports versions of standalone Excel for a certain time period, the same as they do with versions of Windows
Now I understand what you mean. It's ashame that microsoft doesn't want to keep an archive of sorts on their products, though. They are missing out on ad revenue clicks.
 
Upvote 0

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.
@Peter_SSs ,
I do not see an applies to link on that help page (the one in the second image above). I searched for the word "applies" and it was not found.
 
Upvote 0
do not see an applies to link on that help page
1711961867384.png
 
Upvote 0
So, after all that. here is the original version that I had edited out. I'm sure there are more succinct formulas. But, this seems to work.
And should be entered with the CNTR-SHFT-ENTR (CSE) keystroke.

Book1
ABGHI
1JohnWILson
2George Johnson12
3Sally Wilson34
4George Johnson126
5Sally Wilson1413
6Sally Jones16 
7George Wilson17 
8George Smith18 
9George Jackson19 
10George Smith20 
11Sally Jackson21 
12George Jones23 
13John Jackson24 
14George Wilson  
15George Johnson  
16George Smith  
17John Johnson  
18John Jackson  
19Sally Johnson  
20George Johnson  
21John Smith  
22John Smith  
23George Jones  
24John Jackson  
25Sally Johnson  
Sheet1
Cell Formulas
RangeFormula
H2:H25H2=IF((ROW()-1)>SUM(--(ISNUMBER(SEARCH($H$1,$A$2:$A$25)))),"", SMALL(IFERROR((ROW($A$2:$A$25)-1)*(ROW($A$2:$A$25)-1)/(ISNUMBER(SEARCH($H$1,$A$2:$A$25))*(ROW($A$2:$A$25)-1)),2^100), ROW()-1))
I2:I25I2=IF((ROW()-1)>SUM(--(ISNUMBER(SEARCH($I$1,$A$2:$A$25)))),"", SMALL(IFERROR((ROW($A$2:$A$25)-1)*(ROW($A$2:$A$25)-1)/(ISNUMBER(SEARCH($I$1,$A$2:$A$25))*(ROW($A$2:$A$25)-1)),2^100), ROW()-1))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
i want to find in column A for example : in H1 is John i want to list all john with their position number in Column A
I'm assuming that "John" would need to be a stand-alone word, not part of a larger word like "Johnston". If that is the case, try this.

24 04 01.xlsm
AGHI
1JohnWilson
2George Johnson133
3Sally Wilson175
4George Johnson187
5Sally Wilson2114
6Sally Jones2225
7George Wilson24 
8George Smith  
9George Jackson  
10George Smith
11Sally Jackson
12George Jones
13John Jackson
14George Wilson
15George Johnson
16George Smith
17John Johnson
18John Jackson
19Sally Johnson
20George Johnson
21John Smith
22John Smith
23George Jones
24John Jackson
25Wilson Johnson
26
Sheet2 (2)
Cell Formulas
RangeFormula
H2:I9H2=IFERROR(SMALL(IF(ISNUMBER(SEARCH(" "&H$1&" "," "&$A$1:$A$25&" ")),ROW($A$1:$A$25)),ROWS(H$2:H2)),"")
 
Upvote 0
I'm assuming that "John" would need to be a stand-alone word, not part of a larger word like "Johnston". If that is the case, try this.

24 04 01.xlsm
AGHI
1JohnWilson
2George Johnson133
3Sally Wilson175
4George Johnson187
5Sally Wilson2114
6Sally Jones2225
7George Wilson24 
8George Smith  
9George Jackson  
10George Smith
11Sally Jackson
12George Jones
13John Jackson
14George Wilson
15George Johnson
16George Smith
17John Johnson
18John Jackson
19Sally Johnson
20George Johnson
21John Smith
22John Smith
23George Jones
24John Jackson
25Wilson Johnson
26
Sheet2 (2)
Cell Formulas
RangeFormula
H2:I9H2=IFERROR(SMALL(IF(ISNUMBER(SEARCH(" "&H$1&" "," "&$A$1:$A$25&" ")),ROW($A$1:$A$25)),ROWS(H$2:H2)),"")
Yes peter SSs correct. Thanks

And thanks to other experts too.
 
Upvote 0
You're welcome. Glad we could help. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,215,442
Messages
6,124,886
Members
449,194
Latest member
ronnyf85

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