Formula equivalent to ctrl+F?

AbrahamGluck

Board Regular
Joined
Apr 12, 2016
Messages
129
Office Version
  1. 365
Platform
  1. Windows
[FONT=&quot]<form action="https://www.reddit.com/r/excel/comments/29qsxs/formula_equivalent_to_ctrlf/#" class="usertext warn-on-unload" id="form-t3_29qsxsoki" style="margin: 0px; padding: 0px; font-size: small;">I need help trying to figure out a formula equivalent to ctrl+F. (or using VBA)
I need the formula to take text and search the entire sheet for any cell which contains the text. (not vlookup, since the text is not word-for-word)
Example: search entire sheet for the word: “Test” Return a cell which contains text: “Reddit Is Awesome, Test” Same as if you did: find – “Test”




</form>[/FONT]
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Code:
Sub findit()
Dim x As Range
Set x = Cells.Find(InputBox("Find Text"))
If Not x Is Nothing Then x.Select
End Sub
 
Upvote 0
You had said or using VBA, but you can check for it in a column or row with a formula, I don't know about the whole sheet.


Excel 2010
ABCD
1Search Word:testReddit Is Awesome, Test
2
3
4
5
6
7
8
9
10
11
12
13
14
15Reddit Is Awesome, Test
16
17
18
19
20
Sheet1
Cell Formulas
RangeFormula
D1=INDEX(A:A,MATCH("*"&C1&"*",A:A,0))
 
Upvote 0

Forum statistics

Threads
1,226,739
Messages
6,192,739
Members
453,755
Latest member
IQBS

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