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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using "OR" Function in Sumproduct 1

Status
Not open for further replies.

DeLaMartre

Technical User
Dec 26, 2001
213
US
Is it possible to use the "OR" function in a Sumproduct logic string. It seems to make sense, but I am having no luck doing this.

For instance: =Sumproduct(((state=$A$1)*(OR(unit=$B$1), (dept=$B$1)))

Any help would be amazing!

Thanks very much,



-Bob in California

 


Use two separate sumproduct functions and or the results.

Skip,

[glasses] [red]Be Advised![/red] A chicken, who would drag a wagon across the road for 2 cents, is…
POULTRY in motion to PULLET for a PALTRY amount! [tongue]
 
Ah, an elegant solution! Thanks so much, Skip; You are a Great Man!

Regards,

-Bob in California

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top