Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help with excel formula... 1

Status
Not open for further replies.

allcarfan

Programmer
Jan 29, 2003
33
0
0
US
need to combine these statements into one If/then, not, AND statement


If cell E3 is blank and N3 is blank, then blank
If Cell E3 is not blank and N3 is blank, then "open"
If cell E3 is not blank and N3 is not blank, then "closed"

Im frying my brain with IFs, IFNOTs, NOTs, ANDs and I cannot get this to work.
 
=IF(AND(E3<>"",N3<>""),"closed",IF(E3<>"","open",""))

Returns blank if E3 is empty and N3 not empty.

combo
 

allcarfan,

Over the past 8 years you have posted many questions and received many helpful replies from Tek-Tip members. Yet, you have NEVER posted a customary "THANK YOU" for these valuable posts.

Since you replied, "Hell yeah! Thank yoU!!!" to combo, it would be most fitting to...

[blue]
Thank PHV
for this valuable post!
[/blue]

These [purple]Little Purple Stars[/purple] identify threads for Tek-Tips browsers, as ones that have been helpful. They also act as a token "Thank You" to the one or ones who posted valuable information. And they identify the recipient as a grateful member.


Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 

It would be even MORE FITTING to

[blue]Thank [red]combo[/red]
for this valuable post![/blue]



Randy
 


oops.

the perils of copy 'n' paste 'n' ignore [blush]

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top