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!

excel prb 1

Status
Not open for further replies.

ptweb

Programmer
Jul 1, 2005
37
0
0
GB
Hi

I have this prob, I need to the "AND format for excel on the first IF statement, not sure what it is..

if not NO AND another cell not yes... ..I hope my formula helps
=IF(F201<>"no",


SUM((I201)*7/47),IF(J201>0,IF(LEN(J201)>0,IF(G201="yes",SUM((I201)*7/47),SUM((J201)*7/47)),""),""))

 
ya got a lot of summing going on - not sure what you're after, but this should help...

=IF(AND(G201<>"yes",J201<>"no"),"apples","peaches")

 
In english (for me) does this say, if the cell is not equal to no and the other cell is not equal to yes then... blah blah
 
In plain english ...

If G201 is not equal to "yes" AND J201 is not equal to "no" then put "apples", or else put "peaches". That what you're looking for?

-----------
Regards,
Zack Barresse
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top