Formula to Dynamic Search Text within range of cells

CM214

New Member
Joined
May 12, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello guys,

Is there a way Excel can search for a specific text within a selected range of cells? I want to Excel to find a specific text, say something as "#1" within a cells A1:J20, and no matter where i place "#1" within A1:J20, Excel manages to find that text and return it within a different section of the sheet.

I can be more descriptive in what I am trying to get Excel if I need to further explain.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Would "#1" be the only thing in the cell(s) it is in or might a cell contain "Tom is #1 this week"?

In the formula cell you want just "#1" returned if it finds "#1" any where in A1:J20? If so, try this

21 06 14.xlsm
ABCDEFGHIJ
1datadatadatadatadatadatadatadatadatadata
2datadatadatadatadatadatadatadatadatadata
3datadatadatadatadatadatadatadatadatadata
4datadatadatadatadatadatadatadatadatadata
5datadatadatadatadatadatadatadatadatadata
6datadatadata#1datadatadatadatadatadata
7datadatadatadatadatadatadatadatadatadata
8datadatadatadatadatadatadatadatadatadata
9datadatadatadatadatadatadatadatadatadata
10datadatadatadatadatadatadatadatadatadata
11datadatadatadatadatadatadatadatadatadata
12datadatadatadatadatadatadata#1datadata
13datadatadatadatadatadatadata#1datadata
14datadatadatadatadatadatadata#1datadata
15datadatadatadatadatadatadata#1datadata
16datadatadatadatadatadatadatadatadatadata
17datadatadatadatadatadatadatadatadatadata
18datadatadatadatadatadatadatadatadatadata
19datadatadatadatadatadatadatadatadatadata
20datadatadatadatadatadatadatadatadatadata
21
22#1#1
Search
Cell Formulas
RangeFormula
B22B22=IF(COUNTIF(A1:J20,A22),A22,"")
 
Upvote 0

Forum statistics

Threads
1,214,805
Messages
6,121,664
Members
449,045
Latest member
Marcus05

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