# FIND/SEARCH FORMULA IN MS EXCEL (For range of data)

#### ZAKIR

##### New Member
HI,

I am looking for find /search formula in Ms Excel, in which i can find range of data from a cell.

for example Syntax are:

=find(find_text,within_text,start number)

=search(find_text,within_text,start number)

In syntax "find_text" should be range of data instead of single cell/or criteria.

### Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
.
.

You could use an array formula.

For example, if the cell you want to search in is A1 then you could enter this array formula into cells B1 and C1 (by Ctrl + Shift + Enter):

{=SEARCH({"apple","banana"},A1)}

Thanks gpeacock!

{=SEARCH({"apple","banana"},A1)}

But i need to put Range of Data (A2:A180) instead of "apple","banana", because i have more than 150 text values to be search from 1 cell.

You Can try

=SUMPRODUCT(--(A2:A180=A1),ROW(A2:A180))

where A1 is your data to be searched. If found returns 0 else returns row number.

Replies
1
Views
138
Replies
11
Views
465
Replies
9
Views
144
Replies
10
Views
282
Replies
11
Views
350

1,211,685
Messages
6,103,289
Members
447,853
Latest member
olddutch7

### 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.

### Which adblocker are you using?

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

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