Problem with nested IF formula

Copper Contributor

Hello I created an If statement that will return N/A or "". Witch is this:

=IF(D$2=1,"N/A",IF(D$2=2,"",IF(D$2=3,"")))

 

That formula works. After that and if the cell still has a "" then I want it to check a cell lets say A1 for a number. If the number is a certain range then I want it to say N/A otherwise leave it as "". 

 

Can any one help me on this. I hope I made I explained this correctly. 

 

1 Reply

You may wrap your formula by another IF like

=IF(IF(D$2=1,"N/A",IF(D$2=2,"",IF(D$2=3,"","N/A")))="",IF((A1>1)*(A1<10),"N/A",""),"N/A")