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 2006

Tip: Looking for answers? Try searching our database.

SUMIF function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jo Davis - 25 May 2006 09:15 GMT
Here is my problem

I want to sum the values in a column if they meet two criteria, see below:

A                     B                  C                       D

Site            Vehicle               Value                  4 Wheeler Bardon

Bardon        4 Wheeler         1000                
Croft            4 Wheeler        2000

Bardon        4 wheeler          3000

In column D I want it to sum the value column if A equals Bardon and B
equals 4 wheeler. I have done this with one column using the following:

=SUMIF(T4:T47,"4 wheelers",F4:F47)

can I use the AND function?
Andy - 25 May 2006 09:22 GMT
Hi
Try something like this:
=SUMPRODUCT(--(A2:A100="Bardon"),--(B2:B100="4 Wheeler"),(C2:C100))
This function cannot use full columns as ranges and the ranges must all be
the same size.

Hope this helps.
Andy.

> Here is my problem
>
[quoted text clipped - 16 lines]
>
> can I use the AND function?
Jo Davis - 25 May 2006 09:31 GMT
Thanks that works a treat!!

> Hi
> Try something like this:
[quoted text clipped - 25 lines]
> >
> > can I use the AND function?
Andy - 25 May 2006 09:39 GMT
Thanks for the feedback - glad you're sorted!

Andy.

> Thanks that works a treat!!
>
[quoted text clipped - 29 lines]
>> >
>> > can I use the AND function?
Dav - 25 May 2006 09:24 GMT
Something like
=SUMPRODuct((B4:B47="4 wheelers")*(A4:A47="Bardon"),F4:F47)

Regards

Dav

Signature

Dav

 
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.