If And

  • Thread starter Thread starter ggriffis
  • Start date Start date
G

ggriffis

Trying to build a small function as follows:

AND(IF D2 <> "#NA", IF (E2 <> "#NA", "INACTIVE", ""))

So, If D2 and E2 contains #NA, do nothing; If D2 or E2 contain #NA, do
nothing; If D2 *AND* E2 contain anything other than #NA, then current
cell = "INACTIVE".
 
try

if(and((d2<>"#NA"),(E2<>"#NA")),"INACTIVE","")

Hope its help
Regards from Brazil
Marcelo

"ggriffis" escreveu:
 
ggriffis,

=IF(OR(ISNA(D2),ISNA(E2)),"","INACTIVE")

HTH,
Bernie
MS Excel MVP
 

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