PC Review


Reply
Thread Tools Rate Thread

Compound Sumif

 
 
Steve
Guest
Posts: n/a
 
      7th Aug 2007
Hello all. Is it possible to have a 2-column sumif? Columns A & B
have crieteria in them. Column C has the data to be summed.
Essentially, sum the fields in column C if the criteria in BOTH column
A & B are met.

For example, Column A has hire date. Column B is employee status (Y
or N). Can I have a sumif for all employees hired after 1/1/2006 AND
employee status of Y?

Thanks!

 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      7th Aug 2007
=SUMPRODUCT(--(A2:A200>=--"2006-01-01"),--(B2:B200="Y"),C2:200)

SP doesn't work with whole columns pre Excel 2007

--
HTH

Bob

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

"Steve" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello all. Is it possible to have a 2-column sumif? Columns A & B
> have crieteria in them. Column C has the data to be summed.
> Essentially, sum the fields in column C if the criteria in BOTH column
> A & B are met.
>
> For example, Column A has hire date. Column B is employee status (Y
> or N). Can I have a sumif for all employees hired after 1/1/2006 AND
> employee status of Y?
>
> Thanks!
>



 
Reply With Quote
 
=?Utf-8?B?SmltIFRob21saW5zb24=?=
Guest
Posts: n/a
 
      7th Aug 2007
Take a look at SumProduct...

http://www.xldynamic.com/source/xld.SUMPRODUCT.html
--
HTH...

Jim Thomlinson


"Steve" wrote:

> Hello all. Is it possible to have a 2-column sumif? Columns A & B
> have crieteria in them. Column C has the data to be summed.
> Essentially, sum the fields in column C if the criteria in BOTH column
> A & B are met.
>
> For example, Column A has hire date. Column B is employee status (Y
> or N). Can I have a sumif for all employees hired after 1/1/2006 AND
> employee status of Y?
>
> Thanks!
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need help..Simple, compound, complex, compound-complex examples Peggylynne Microsoft Word Document Management 1 30th May 2010 07:22 AM
compound key or not? =?Utf-8?B?R2VvcmdlQXRraW5z?= Microsoft Access Database Table Design 7 17th May 2006 09:59 PM
SUMIF - Compound Condition =?Utf-8?B?TWlrZSBNY0xlbGxhbg==?= Microsoft Excel Misc 3 11th Jan 2006 10:56 AM
using SUMIF function with compound conditions agarwaldvk Microsoft Excel Worksheet Functions 12 10th Aug 2004 12:23 AM
Compound conditional in "SumIf" RWN Microsoft Excel Discussion 4 6th Jan 2004 04:00 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:28 PM.