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!

And clause in excel 1

Status
Not open for further replies.

100dtl

Programmer
Aug 18, 2003
313
0
0
GB
Hi

How do i expand the first contion with and??

.... (H21>F21 and blah="on")

=IF(H21>F21,&quot;OVER&quot;,IF(H21<F21,&quot;UNDER&quot;,&quot;&quot;))
 
=IF(and(H21>F21,blah=&quot;on&quot;),&quot;OVER&quot;,IF(H21<F21,&quot;UNDER&quot;,&quot;&quot;))
 
Thxs i did suss it like this


=IF(M21 =&quot;on&quot;,IF(G21>E21,&quot;OVER&quot;,IF(G21<E21,&quot;UNDER&quot;,&quot;&quot;)),&quot;&quot;)

or

=IF(G21>E21 & M21 =&quot;on&quot;,&quot;OVER&quot;,IF(G21<E21,&quot;UNDER&quot;,&quot;&quot;)),&quot;&quot;)

beltin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top