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

ZAKIR

New Member
Joined
Sep 17, 2014
Messages
2
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

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
.
.

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)}
 
Upvote 0
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.




 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,215,516
Messages
6,125,285
Members
449,218
Latest member
Excel Master

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