Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / June 2006

Tip: Looking for answers? Try searching our database.

=IF(AND) ASSISTANCE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
VAN GOGH - 20 Jun 2006 15:42 GMT
Why doesn't this formula work?

=IF(AND('Detail by POG'!D1:D1000="Mainline Books - 12.5'",'Totals
Only'!B3='Detail by POG'!B1:B1000),"YES","NO")

Thanks.
Bob Phillips - 20 Jun 2006 15:56 GMT
Spurious apostrophe.

=IF(AND('Detail By POG'!D1:D1000="Mainline Books - 12.5",'Totals
Only'!B3='Detail By POG'!B1:B1000),"YES","NO")

But this onl;y tests the first cell, do you want any instance of that text
to register yes, if so

=IF(OR(ISNA(MATCH("Mainline Books - 12.5",'Detail By
POG'!D1:D100,0)),ISNA(MATCH('Totals Only'!B3,'Detail By
POG'!B1:B1000,0))),"NO","YES")

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

> Why doesn't this formula work?
>
> =IF(AND('Detail by POG'!D1:D1000="Mainline Books - 12.5'",'Totals
> Only'!B3='Detail by POG'!B1:B1000),"YES","NO")
>
> Thanks.
Marcelo - 20 Jun 2006 15:57 GMT
Hi,

try this

=IF(AND(SUMPRODUCT(--('Detail by POG'!D1:D1000="Mainline Books -
12.5'")),SUMPRODUCT(--('Detail by POG'!B1:B1000='Totals
Only'!B3))),"YES","NO")

HTH
Regards from Brazil - going to the 6th *
Marcelo

> Why doesn't this formula work?
>
> =IF(AND('Detail by POG'!D1:D1000="Mainline Books - 12.5'",'Totals
> Only'!B3='Detail by POG'!B1:B1000),"YES","NO")
>
> Thanks.
JMB - 21 Jun 2006 04:18 GMT
Or does he want to know if the two criteria appear in the same row?

=IF(SUMPRODUCT(--('Detail by POG'!D1:D1000="Mainline Books -
12.5'"), --('Detail by POG'!B1:B1000='Totals
Only'!B3)),"YES","NO")

To respond to the OP's question of why it does not work - not easy to answer
when you don't tell anyone what you are trying to do.  

> Hi,
>
[quoted text clipped - 14 lines]
> >
> > Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.