IF SEARCH Formulas with multiple condition

adiacal7

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


Orange JuiceOrange
Add Mango Jam#VALUE!
Filled up Coffe#VALUE!
Maybe repost#VALUE!

<tbody>
</tbody>

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

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
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,216,111
Messages
6,128,898
Members
449,477
Latest member
panjongshing

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