Help with adding two IF formulas within a single cell

lchalk

New Member
Joined
Jan 23, 2014
Messages
6
=IF(ISNUMBER(SEARCH("cannot be maintained by some operators",C26)),"4",F63)+(ISNUMER(SEARCH(''unobtainable by some operators'',E26)),''4'',F63)
 

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
=IF(ISNUMBER(SEARCH("cannot be maintained by some operators",C26)),4,F63)+IF(ISNUMBER(SEARCH("unobtainable by some operators",E26)),4,F63)
 
Upvote 0
=IF(ISNUMBER(SEARCH("cannot be maintained by some operators",C26)),4,F63)+IF(ISNUMBER(SEARCH("unobtainable by some operators",E26)),4,F63)

Thanks for the quick response Neil, this has helped a little, however, I have realised I don't need to add the values and it needs to be, the first IF or the second IF as the current formula creates a value of 8 and need it to equal 4.
 
Upvote 0
There are 3 possible options
1 - C26 & E26 both contain the text being searched for
2 - Either of C26 or E26 contain the text being searched for
3 - Neither cell contains the text being searched for

In each case, what value do you want returned?
 
Upvote 0
There are 3 possible options
1 - C26 & E26 both contain the text being searched for
2 - Either of C26 or E26 contain the text being searched for
3 - Neither cell contains the text being searched for

In each case, what value do you want returned?

thanks again for the response I seem to have found that the following formula works in my case:

=(IF(ISNUMBER(SEARCH("cannot be maintained by some operators",C26)),4,IF(ISNUMBER(SEARCH("unobtainable by some operators",E26)),4,F63)))

Lewis
 
Upvote 0

Forum statistics

Threads
1,217,394
Messages
6,136,355
Members
450,006
Latest member
DaveLlew

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