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 / May 2008

Tip: Looking for answers? Try searching our database.

Formula problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joyce - 07 May 2008 19:14 GMT
I am having problems coming up with a formula
Here is my scenario

If A2:A5 = Apples and B2:B5 = Oranges, then count the number of oranges in
Column B
Bob Phillips - 07 May 2008 19:17 GMT
=SUMPRODUCT(--(A2:A5="Apples"),--(B2:B5="Oranges"))

Signature

HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

>I am having problems coming up with a formula
> Here is my scenario
>
> If A2:A5 = Apples and B2:B5 = Oranges, then count the number of oranges in
> Column B
Gaurav - 07 May 2008 19:22 GMT
There might be a better way but this one should also work.

=SUMPRODUCT(--(A1:A5="Apples"),--(B1:B5="Oranges")*(B1:B5="Oranges"))

>I am having problems coming up with a formula
> Here is my scenario
>
> If A2:A5 = Apples and B2:B5 = Oranges, then count the number of oranges in
> Column B
 
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



©2008 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.