IF SEARCH Formulas with multiple condition

adiacal7

New Member
Joined
Jun 7, 2016
Messages
12
Hi mate I have some data as below


[TABLE="width: 169"]
<tbody>[TR]
[TD]Orange Juice[/TD]
[TD]Orange[/TD]
[/TR]
[TR]
[TD]Add Mango Jam[/TD]
[TD="align: center"]#VALUE![/TD]
[/TR]
[TR]
[TD]Filled up Coffe[/TD]
[TD="align: center"]#VALUE![/TD]
[/TR]
[TR]
[TD]Maybe repost[/TD]
[TD="align: center"]#VALUE![/TD]
[/TR]
</tbody>[/TABLE]

and I want to Search some word with some logic as below

=IF(SEARCH("Orange",B2),"Orange",IF(SEARCH("Mango",B2),"Mango",IF(SEARCH("Coffe",B2),"Coffe",IF(SEARCH("Repost",B2),"repost","Null"))))

I try it but it seems error value

Could someone help me please
 
Last edited:

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
In C2 enter and copy down:

=IFERROR(LOOKUP(9.99999999999999E+307,SEARCH({"coffee","mango","orange"},$B2),{"coffee","mango","orange"}),"null")
 
Upvote 0
WOW thanks mate it work,, Can I know What measning of 9.99999999999999E+307 I don't have ideas with that

 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,312
Members
452,634
Latest member
cpostell

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