Excel Formula

Closed
Beginner - 10 Apr 2010 à 15:26
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 10 Apr 2010 à 18:04
Hello, I am a total beginner at Excel and I (really) need a formula...
If you could (please) give me the formula for this, I could alter it myself to fit what I need...

If the word "yes" is in B5, the value is 1.5 for B5.
If the word "no" is in B5, the value is 1.

What is the formula for that?

1 response

rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 766
10 Apr 2010 à 18:04
In C5 you can write

=IF(B5="yes", 1.5, 1)