Put your second in the false of the first instead of the "". It is called nesting:
=IF(ISNUMBER(SEARCH("btc", I2)), (E2*(1+10%)-D2),IF(ISNUMBER(SEARCH("pp",I2)),E2-D2,""))
Answer from Scott Craner on Stack Overflowexcel - How to do an If Else in google sheets? - Stack Overflow
Is there a function similar to an else or elif function?
How to insert an ELSE IF in as google sheets, as I can't seem to use 2 IF Statements in the same cell? - Stack Overflow
Google spreadsheets IF-ELSE - Stack Overflow
I'm not sure what I'm doing wrong here:
I have a nested IF formula that works as is, except if the "F" cell is empty, the cell fills with "FALSE". I'd rather have it return nothing. But, I'm obviously missing something simple in my syntax.
in short:
this works, but empty "F" cells will return a value of FALSE.
=IF(AND(F6>0, F6<=2),210, IF(AND(F6>2,F6<=5), 450, IF(AND(F6>5, F6<=10), 750, IF(F6>10, ((F6-10)*150)+750))))
I tried adding IF(F6 = " ", " "), but it's giving me #N/A, maybe I'm adding it in the wrong spot?
TIA
Put your second in the false of the first instead of the "". It is called nesting:
=IF(ISNUMBER(SEARCH("btc", I2)), (E2*(1+10%)-D2),IF(ISNUMBER(SEARCH("pp",I2)),E2-D2,""))
Alternate with nested IFERROR functions.
=IFERROR(E2*IFERROR(SIGN(SEARCH("btc",I2))*110%,SIGN(SEARCH("pp",I2)))-D2,"")
Do I have to use AND?
Yes.
The formula to use would be:

The function you are looking could be IF or IFS.
The syntax is for IF is
IF(logical_expression,value_if_true,value_if_false)
The syntax for IFS is
IFS(condition1, value1, [condition2, value2, …])
Reference
- IF function
- IFS function