Using IF(ISNUMBER(SEARCH

mfabri

New Member
Joined
Nov 5, 2015
Messages
16
Hi Guys,

I'm using the IF(ISNUMBER(SEARCH formula set to find a especific number in a excel file

=IF(ISNUMBER(SEARCH(E3,$D$2:$D$48)), E3, "NO")

Basicaly I have an array of numbers in E and a combination of words and numbers in D I need to know if the number in E is anywhere in D

For some reason the formula works with just one ROW but not the combination of 48 ROWS

Can someone help?

Thanks a lot!
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
maybe this
=IF(SUMPRODUCT(--(ISNUMBER(SEARCH(E3,$D$2:$D$48))))>0,E3,"NO")


Last thing, this formula gives me the value in E how can I use this formula tell me in which ROW in D the E number was found?
 
Last edited:
Upvote 0
how can I use this formula tell me in which ROW in D the E number was found?


Try
=MATCH("*"&E3&"*",$D$2:$D$48,0)

Note, this isn't an absolute row #.
It's an Index number relative to the searched range (D2:D48)
So if E3 is found in say D5, the formula would actually result in 4
Because D5 is the 4th item in D2:D48 (D2 is 1st, D3 is 2nd etc)
 
Upvote 0
Still can't think in how can I bring the cell to the result, now I know the number I was searching for is in the Data array, but how can I know where? So I can delet that ROW
 
Upvote 0

Forum statistics

Threads
1,216,073
Messages
6,128,634
Members
449,460
Latest member
jgharbawi

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