Reputation: 215
How can I combine these two formulas, so that it looks for BOB or JOE and enters the correct answer or if neither it should just enter -
?
=IF(R15="BOB","YES","-")
=IF(R15="JOE","NO","-")
Upvotes: 2
Views: 110
Reputation: 152450
You need to put the second in the False return of the first:
=IF(R15="BOB","YES",IF(R15="JOE","NO","-"))
Upvotes: 1