"IF" formula problem

S

ssharp

Here's my scenario. I want a cell to produce a certain number if a certain
text is entered.

For example, if B12=YES, I want it to say "$100". HOWEVER, I also need it
to do if B12="NO", I want it to say "$200". I'm having a problem getting it
to do so.

I can get as far as:

IF(B12="YES","$100")

but I don't know how to add the new condition of IF(B12="NO","$200")-I just
get a "VALUE#" error!
 
G

Gary''s Student

No IFs are needed:

=(B12="YES")*100 + (B12="NO")*200
and format the cell as currency.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top