If formula evaluating 2 cells contents

N

N E Body

Hi

I cannot get my head round this one at all

I want to enter a formula into a cell <eg C1> to return a value of
"Complete" if A1 is a number and B1 is not blank.
If A1 is a number and B1 is blank C1 value is "Outstanding"
if A1 is blank then C1 is " " <empty>

Any Ideas?

Regards
Kenny
Win NT and 2000 with Office 97
 
J

JE McGimpsey

One way:

Assuming A1 will be either a number or blank:

=IF(ISBLANK(A1),"",IF(ISBLANK(B1),"Outstanding","Complete"))

If A1 can be something other than a number or blank:

=IF(ISBLANK(A1), "", IF(ISNUMBER(A1), IF(ISBLANK(B1),
"Outstanding", "Complete"), "Something Else"))
 
G

Guest

Try this formula in cell C1.

IF(AND(ISNUMBER(A1),NOT(ISBLANK(B1))),"Complete",IF(AND(ISNUMBER(A1),ISBLANK(B1)),"Outstanding",IF(ISBLANK(A1),"","Other Scenario")))

Hope this helps.

Thanks,
Bill Horton
 
N

N E Body

Many thanks - works a treat (and my attempts looked nothing like these
examples!!! <VBG>)

Regards
Kenny
 

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