If statement help please

1stNoobie

Board Regular
Joined
Jul 15, 2009
Messages
69
I am trying to get the below formula to work and get a #VALUE error. I am trying to check one cell "M4" for a specific text. Thanks in advance for your help.

=IF(FIND("CHAMFER",M4),0.25,IF(FIND("FINISH",M4),0.25,IF(FIND("MACHINE",M4),0.25," ")))
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Try:
=IF(OR(ISNUMBER(FIND("CHAMFER",M4)),ISNUMBER(FIND("FINISH",M4)),ISNUMBER(FIND("MACHINE",M4))),0.25," ")

Note: FIND is case-sensitive. To make it non-case-sensitive, use SEARCH.
 
Upvote 0
i am trying to get the below formula to work and get a #value error. I am trying to check one cell "m4" for a specific text. Thanks in advance for your help.

=if(find("chamfer",m4),0.25,if(find("finish",m4),0.25,if(find("machine",m4),0.25," ")))


=if(sumproduct(--(isnumber(search({"chamfer","finish","machine"},m4))))>0,0.25,"")
 
Upvote 0
I am trying to get the below formula to work and get a #VALUE error. I am trying to check one cell "M4" for a specific text. Thanks in advance for your help.

=IF(FIND("CHAMFER",M4),0.25,IF(FIND("FINISH",M4),0.25,IF(FIND("MACHINE",M4),0.25," ")))
Try this...

=IF(OR(ISNUMBER(FIND({"CHAMFER","FINISH","MACHINE"},M4))),0.25,"")
 
Upvote 0

Forum statistics

Threads
1,223,907
Messages
6,175,300
Members
452,633
Latest member
DougMo

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