Excel Formula

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In Excel 2000, can I create a formula that will auto populate a cell
depending on a specific argument. Such as, If cell A3 is "yes", then B3
should auto populate 25%; if cell A3 is "no", then B3 should auto populate 0%.
 
In cell B3:

=IF(A3="yes",25%,0%)

But what if cell A3 is something else?

=IF(A3="yes",25%,IF(A3="no",0%,"Don't know"))

Format B3 as Percentage

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel
 
Hi
=IF(A3="yes",25%,IF(A3="no",0%,""))

--
Regards
Frank Kabel
Frankfurt, Germany

IndyAspen said:
In Excel 2000, can I create a formula that will auto populate a cell
depending on a specific argument. Such as, If cell A3 is "yes", then B3
should auto populate 25%; if cell A3 is "no", then B3 should auto
populate 0%.
 
Enter in B3 =if(A3="yes","25%",if(A3="no","0%",""))
The last part will ensure the cell stays blank if not "yes" or "no"

Regards
Bill K
 

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