Formula help!

  • Thread starter Thread starter Onion
  • Start date Start date
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
 
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
 
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

Similar Threads

Need Help 5
ISBLANK 3
Help with Formula 5
Function for a nested if statement 2
MIN and IF functions return no value if there is no date 4
Calculating time 3
Choose function 8
Subtract frim a static total 2

Back
Top