Formula help!

O

Onion

Could someone advise me what I'm doing wrong?
I'm having a value error appear on this formula.
=OR(AND(ISNUMBER($G9),$H9="N"),(AND(ISNUMBER($I9),ISNUMBER
($G9),$H9="Y")),"Open","Closed")
I'm trying to get a cell to show 'open' and 'closed' based
on:
"Open" displayed when G9 has a date and H9=Y
"Closed" displayed when G9 has a date and H9=N
"Closed" displayed when G9 has a date and H9=Y and I9 has
a date.

TIA
 
T

Tim C

Try:

=IF(OR(AND(ISNUMBER($G9),$H9="N"),AND(ISNUMBER($I9),ISNUMBER($G9))),"Closed","Open")

or

=IF(AND(ISNUMBER($G9),OR($H9="N",ISNUMBER($I9))),"Closed","Open")

Tim C
 
O

Onion

Thank you! Much appreciated!
-----Original Message-----
Try:

=IF(OR(AND(ISNUMBER($G9),$H9="N"),AND(ISNUMBER ($I9),ISNUMBER($G9))),"Closed","Open")
($I9))),"Closed","Open")

Tim C




.
 

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