Multi-Step problem - text box input with output and a conditional formatting challenge

BB38

New Member
Joined
Jan 16, 2021
Messages
39
Office Version
  1. 365
Platform
  1. Windows
Hi -

I have a database with Column B being 500 or so unique names.

I have created a text box where I can input the name and the output will be the row in which the name is found. The formula I have used for this is: =IFERROR(MATCH(F8 & "*",Table2[Investor],0), "Not Found") +10

Now I want to add another feature:

I want the output to stay as it is but:

1. If there are multiple outputs for the same letters (for example, if there are 10 names that start with AD in column B) then I want the output to show me all the lines these are found on (right now the output can only show me one line number)

2. I want to have whatever the output is in #1 above - to then highlight the cells in Column B

Please let me know if I can expand further

BB
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Maybe you can use this example:
Map1
ABCDEFGH
1jan9
2piet6
3klaas2
4henk 
5gert 
6peter 
7mien 
8klaasp 
9peter 
10krijn 
Blad1
Cell Formulas
RangeFormula
H1:H10H1=IF(COUNTIF($B$1:$B$10,$F$8&"*")>=ROWS($B$1:B1),LARGE((ROW($B$1:$B$10))*(ISNUMBER(FIND($F$8,LEFT($B$1:$B$10,LEN($F$8)),1))),ROW()),"")
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Thank you for this possible solution.

If I may be so bold - I've got the sheet working well.

Cell F8 is Input by user, Cell G8 is row output

Formula i'm using is:

I just need the output to show more than just one row if more than one exists. e.g. instead of row 13 only, it ouputs that the name exists in row 13,15,17

=IFERROR(MATCH(F8 & "*",Table2[Investor],0), "Not Found")

anyone? Bueller? anyone?
 
Upvote 0
How about
+Fluff 1.xlsm
ABCDE
1
2Amber Valleyw6, 7, 8, 19, 20
3Birminghamwa7, 19
4Bradford
5Cannock Chase
6Cherwell
7Cornwall
8Cotswold
9Eden
10Hambleton
11Kirklees
12Oldham
13Pendle
14Shropshire
15Stockport
16Stoke-on-Trent
17Teignbridge
18Torridge
19Waverley
20Wycombe
Main
Cell Formulas
RangeFormula
E2:E3E2=TEXTJOIN(", ",,FILTER(ROW($B$2:$B$20),ISNUMBER(SEARCH(D2,$B$2:$B$20))))
 
Upvote 0
Solution
but do I simply substitute my existing formula with yours (adjusted for rows and column numbers)? It took me a long time to get the formula I showed working right so...just want to understand how to do this.
 
Upvote 0
thank you! that worked, and now seeing how you did this is helpful. Very creative!
 
Upvote 0
Yes that's right. :)
one last issue - I want the search to just be for the letters i've typed at the beginning of the name. So if I was looking for Edward, when I type "E" it will show me all the ones that begin with E, and if I type "Ed" then it would show me all names with ED. This formula is giving me all names that share the letters regardless of placement. How would I adjust the formula?
 
Upvote 0
Ok, how about
+Fluff 1.xlsm
ABCDE
1
2Amber Valleyw19, 20
3Birminghame9
4Bradford
5Cannock Chase
6Cherwell
7Cornwall
8Cotswold
9Eden
10Hambleton
11Kirklees
12Oldham
13Pendle
14Shropshire
15Stockport
16Stoke-on-Trent
17Teignbridge
18Torridge
19Waverley
20Wycombe
21
Main
Cell Formulas
RangeFormula
E2:E3E2=TEXTJOIN(", ",,FILTER(ROW($B$2:$B$20),LEFT($B$2:$B$20,LEN(D2))=D2))
 
Upvote 0
okay so i'll admit when I plugged this in I thought "no way this works"

I will be looking at this formula all night to understand it.

I am bowing and muttering supplications of thanks as I leave the throne room
 
Upvote 0

Forum statistics

Threads
1,215,239
Messages
6,123,817
Members
449,127
Latest member
Cyko

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