How do I create a formula

  • Thread starter Thread starter Trikester824
  • Start date Start date
T

Trikester824

That returns different values for a cell that contains a yes, no or N/A.
 
=IF(ISNA(A1),3,IF(A1="yes",1,IF(A1="no",2,"something else")))

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

| That returns different values for a cell that contains a yes, no or N/A.
 
Possibly one way:

=LOOKUP(A1,{"N/A","no","yes"},{"Not Applicable","N","Y"})
 
If you want to change the contents of a cell based on what is currently in
that same cell, you will need VBA programming. Post back if this is what
you want. HTH Otto
 

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

Back
Top