"IF" formula help

Benk87

New Member
Joined
Mar 6, 2015
Messages
7
Hi All,


I think I'm looking for an 'IF' formula which achieves the following "IF" cell1 contains "200"or"300" populate cell2 with the same value.

Thanks in advance.
 
in cell2

Code:
=IF(ISNUMBER(SEARCH("200",cell1)),200,IF(ISNUMBER(SEARCH("300",cell1)),300,0))
 
Upvote 0

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Part Deux!

I now need a second supporting formula for the same piece, cuz I like to keep you guys on your toes!
So this time - I need something which accomplishes the following -

IF cell1=0 AND IF cell2>0 populate cell3/current cell as "YES"
if not, populate as NO

Thanks for your invaluable help so far - that goes for everyone.
 
Upvote 0
Sorry - just to clarify the numbers of the cells have no relationship to the previous post so probably best to treat independently.
 
Upvote 0

Forum statistics

Threads
1,215,314
Messages
6,124,204
Members
449,147
Latest member
sweetkt327

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