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.

Using Sumif On Two Columns of Data - How?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
f252863@hotmail.com - 09 May 2008 21:00 GMT
Here is the problem in a nutshell:

Column 1     Column 2

58000             100%
7000                50%
7000                50%
50000              50%
50000              50%

I need a function that adds all values in column 1 that are 20000 or
higher AND are 50% in column 2, lastly I divide the result by two.  I
tried something like this:

=SUMIF(M158:M163, "50%", (L158:L163,">19999")/2

Didn't work.  The correct output using the sample numbers above is
50000.00

Thanks!
Mike H - 09 May 2008 21:14 GMT
Maybe

=SUMPRODUCT((A1:A5>=20000)*(B1:B5=50%)*(A1:A5))/2

Mike

> Here is the problem in a nutshell:
>
[quoted text clipped - 16 lines]
>
> Thanks!
f252863@hotmail.com - 09 May 2008 21:20 GMT
> Maybe
>
[quoted text clipped - 25 lines]
>
> - Show quoted text -

Thanks Mike!  Worked like a charm.
Mike H - 09 May 2008 21:33 GMT
Your welcome and thanks for the feedback

> > Maybe
> >
[quoted text clipped - 27 lines]
>
> Thanks Mike!  Worked like a charm.
 
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.