Help with "IF" function

C

chines706

Hi everyone. I am new and need help. I am clueless with functions. I a
trying to write a "IF" function that says........

If R2 equals 000000, NONOUT, or OUT......then it is O&M. If not equa
000000, NONOUT, or OUT......then it is capital.

I tried this formula but it does not work:

=IF(R2>0,"capital","O&M")

I know it is more to it. Please help and thanks in advance
 
S

Spencer101

chines706;1605046 said:
Hi everyone. I am new and need help. I am clueless with functions. I a
trying to write a "IF" function that says........

If R2 equals 000000, NONOUT, or OUT......then it is O&M. If not equa
000000, NONOUT, or OUT......then it is capital.

I tried this formula but it does not work:

=IF(R2>0,"capital","O&M")

I know it is more to it. Please help and thanks in advance.

=IF(OR(R2=0,R2="NONOUT",R2="OUT"),"O&M","CAPITAL")

The above would work if the 000000 is actually a number, if it's tex
then change it to


=IF(OR(R2="000000",R2="NONOUT",R2="OUT"),"O&M","CAPITAL"
 

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

Top