PC Review


Reply
Thread Tools Rate Thread

averageif with 2 other criteria

 
 
v1rt8
Guest
Posts: n/a
 
      13th Nov 2009
Need some help with an averageif calc.
setup is as follows:
q3:q1357 contains ages
r3:r1357 contains text (active), (MGT), (others)

so averageif q3:q1357 active and mgt in 43:r1357
so averageif

looked at other questions in here and cannot find anything close
thanks in advance
 
Reply With Quote
 
 
 
 
v1rt8
Guest
Posts: n/a
 
      13th Nov 2009


"v1rt8" wrote:

> Need some help with an averageif calc.
> setup is as follows:
> q3:q1357 contains ages
> r3:r1357 contains text (active), (MGT), (others)
>
> so averageif q3:q1357 active and mgt in r3:r1357
> so averageif q3:q1357 active in r3:r1357


>
> looked at other questions in here and cannot find anything close
> thanks in advance

 
Reply With Quote
 
T. Valko
Guest
Posts: n/a
 
      13th Nov 2009
Are you using Excel 2007?

>so averageif q3:q1357 active and mgt in r3:r1357
>so averageif q3:q1357 active in r3:r1357


Are those 2 separate requests?

Get the average age if column R contains either active *or* mgt.

Get the average age if column R contains active.


--
Biff
Microsoft Excel MVP


"v1rt8" <(E-Mail Removed)> wrote in message
news:AA8800BB-0AA2-45FC-9280-(E-Mail Removed)...
>
>
> "v1rt8" wrote:
>
>> Need some help with an averageif calc.
>> setup is as follows:
>> q3:q1357 contains ages
>> r3:r1357 contains text (active), (MGT), (others)
>>
>> so averageif q3:q1357 active and mgt in r3:r1357
>> so averageif q3:q1357 active in r3:r1357

>
>>
>> looked at other questions in here and cannot find anything close
>> thanks in advance



 
Reply With Quote
 
Sean Timmons
Guest
Posts: n/a
 
      13th Nov 2009
=SUMIF(r3:r1357,"active",q3:q1357)/countif(r3:r1357,"active")

Then
=(SUMIF(r3:r1357,"active",q3:q1357)+SUMIF(r3:r1357,"mgt",q3:q1357))/(countif(r3:r1357,"active")+countif(r3:r1357,"mgt"))

"v1rt8" wrote:

>
>
> "v1rt8" wrote:
>
> > Need some help with an averageif calc.
> > setup is as follows:
> > q3:q1357 contains ages
> > r3:r1357 contains text (active), (MGT), (others)
> >
> > so averageif q3:q1357 active and mgt in r3:r1357
> > so averageif q3:q1357 active in r3:r1357

>
> >
> > looked at other questions in here and cannot find anything close
> > thanks in advance

 
Reply With Quote
 
v1rt8
Guest
Posts: n/a
 
      13th Nov 2009
Yes i am, they are two separate requests,
in one cell the avg age of active and mgt
in another cell the avg age of active
in another cell the avg age of mgt
thanks, i should have been more clear

"T. Valko" wrote:

> Are you using Excel 2007?
>
> >so averageif q3:q1357 active and mgt in r3:r1357
> >so averageif q3:q1357 active in r3:r1357

>
> Are those 2 separate requests?
>
> Get the average age if column R contains either active *or* mgt.
>
> Get the average age if column R contains active.
>
>
> --
> Biff
> Microsoft Excel MVP
>
>
> "v1rt8" <(E-Mail Removed)> wrote in message
> news:AA8800BB-0AA2-45FC-9280-(E-Mail Removed)...
> >
> >
> > "v1rt8" wrote:
> >
> >> Need some help with an averageif calc.
> >> setup is as follows:
> >> q3:q1357 contains ages
> >> r3:r1357 contains text (active), (MGT), (others)
> >>
> >> so averageif q3:q1357 active and mgt in r3:r1357
> >> so averageif q3:q1357 active in r3:r1357

> >
> >>
> >> looked at other questions in here and cannot find anything close
> >> thanks in advance

>
>
> .
>

 
Reply With Quote
 
v1rt8
Guest
Posts: n/a
 
      13th Nov 2009
would this give me the avg age?

"Sean Timmons" wrote:

> =SUMIF(r3:r1357,"active",q3:q1357)/countif(r3:r1357,"active")
>
> Then,
> =(SUMIF(r3:r1357,"active",q3:q1357)+SUMIF(r3:r1357,"mgt",q3:q1357))/(countif(r3:r1357,"active")+countif(r3:r1357,"mgt"))
>
> "v1rt8" wrote:
>
> >
> >
> > "v1rt8" wrote:
> >
> > > Need some help with an averageif calc.
> > > setup is as follows:
> > > q3:q1357 contains ages
> > > r3:r1357 contains text (active), (MGT), (others)
> > >
> > > so averageif q3:q1357 active and mgt in r3:r1357
> > > so averageif q3:q1357 active in r3:r1357

> >
> > >
> > > looked at other questions in here and cannot find anything close
> > > thanks in advance

 
Reply With Quote
 
Sean Timmons
Guest
Posts: n/a
 
      13th Nov 2009
It would give the mean average, which is what AVERAGe in Excel provides. You
are adding together the total of ages, then dividing by the number of people.

"v1rt8" wrote:

> would this give me the avg age?
>
> "Sean Timmons" wrote:
>
> > =SUMIF(r3:r1357,"active",q3:q1357)/countif(r3:r1357,"active")
> >
> > Then,
> > =(SUMIF(r3:r1357,"active",q3:q1357)+SUMIF(r3:r1357,"mgt",q3:q1357))/(countif(r3:r1357,"active")+countif(r3:r1357,"mgt"))
> >
> > "v1rt8" wrote:
> >
> > >
> > >
> > > "v1rt8" wrote:
> > >
> > > > Need some help with an averageif calc.
> > > > setup is as follows:
> > > > q3:q1357 contains ages
> > > > r3:r1357 contains text (active), (MGT), (others)
> > > >
> > > > so averageif q3:q1357 active and mgt in r3:r1357
> > > > so averageif q3:q1357 active in r3:r1357
> > >
> > > >
> > > > looked at other questions in here and cannot find anything close
> > > > thanks in advance

 
Reply With Quote
 
v1rt8
Guest
Posts: n/a
 
      13th Nov 2009
thank you sir, i appreciate your time and effort

"Sean Timmons" wrote:

> It would give the mean average, which is what AVERAGe in Excel provides. You
> are adding together the total of ages, then dividing by the number of people.
>
> "v1rt8" wrote:
>
> > would this give me the avg age?
> >
> > "Sean Timmons" wrote:
> >
> > > =SUMIF(r3:r1357,"active",q3:q1357)/countif(r3:r1357,"active")
> > >
> > > Then,
> > > =(SUMIF(r3:r1357,"active",q3:q1357)+SUMIF(r3:r1357,"mgt",q3:q1357))/(countif(r3:r1357,"active")+countif(r3:r1357,"mgt"))
> > >
> > > "v1rt8" wrote:
> > >
> > > >
> > > >
> > > > "v1rt8" wrote:
> > > >
> > > > > Need some help with an averageif calc.
> > > > > setup is as follows:
> > > > > q3:q1357 contains ages
> > > > > r3:r1357 contains text (active), (MGT), (others)
> > > > >
> > > > > so averageif q3:q1357 active and mgt in r3:r1357
> > > > > so averageif q3:q1357 active in r3:r1357
> > > >
> > > > >
> > > > > looked at other questions in here and cannot find anything close
> > > > > thanks in advance

 
Reply With Quote
 
v1rt8
Guest
Posts: n/a
 
      13th Nov 2009
thank you sir for your time and effort

"Sean Timmons" wrote:

> It would give the mean average, which is what AVERAGe in Excel provides. You
> are adding together the total of ages, then dividing by the number of people.
>
> "v1rt8" wrote:
>
> > would this give me the avg age?
> >
> > "Sean Timmons" wrote:
> >
> > > =SUMIF(r3:r1357,"active",q3:q1357)/countif(r3:r1357,"active")
> > >
> > > Then,
> > > =(SUMIF(r3:r1357,"active",q3:q1357)+SUMIF(r3:r1357,"mgt",q3:q1357))/(countif(r3:r1357,"active")+countif(r3:r1357,"mgt"))
> > >
> > > "v1rt8" wrote:
> > >
> > > >
> > > >
> > > > "v1rt8" wrote:
> > > >
> > > > > Need some help with an averageif calc.
> > > > > setup is as follows:
> > > > > q3:q1357 contains ages
> > > > > r3:r1357 contains text (active), (MGT), (others)
> > > > >
> > > > > so averageif q3:q1357 active and mgt in r3:r1357
> > > > > so averageif q3:q1357 active in r3:r1357
> > > >
> > > > >
> > > > > looked at other questions in here and cannot find anything close
> > > > > thanks in advance

 
Reply With Quote
 
Sean Timmons
Guest
Posts: n/a
 
      13th Nov 2009
Not a problem!

"v1rt8" wrote:

> thank you sir, i appreciate your time and effort
>
> "Sean Timmons" wrote:
>
> > It would give the mean average, which is what AVERAGe in Excel provides. You
> > are adding together the total of ages, then dividing by the number of people.
> >
> > "v1rt8" wrote:
> >
> > > would this give me the avg age?
> > >
> > > "Sean Timmons" wrote:
> > >
> > > > =SUMIF(r3:r1357,"active",q3:q1357)/countif(r3:r1357,"active")
> > > >
> > > > Then,
> > > > =(SUMIF(r3:r1357,"active",q3:q1357)+SUMIF(r3:r1357,"mgt",q3:q1357))/(countif(r3:r1357,"active")+countif(r3:r1357,"mgt"))
> > > >
> > > > "v1rt8" wrote:
> > > >
> > > > >
> > > > >
> > > > > "v1rt8" wrote:
> > > > >
> > > > > > Need some help with an averageif calc.
> > > > > > setup is as follows:
> > > > > > q3:q1357 contains ages
> > > > > > r3:r1357 contains text (active), (MGT), (others)
> > > > > >
> > > > > > so averageif q3:q1357 active and mgt in r3:r1357
> > > > > > so averageif q3:q1357 active in r3:r1357
> > > > >
> > > > > >
> > > > > > looked at other questions in here and cannot find anything close
> > > > > > thanks in advance

 
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
averageif with 3 criteria Rene Microsoft Excel Misc 1 28th May 2010 02:49 AM
AVERAGEIF Shelina Microsoft Excel Worksheet Functions 4 7th Nov 2009 05:30 PM
Help with Averageif Formula (don't think I should use Averageif) MUmfleet Microsoft Excel Misc 5 9th Apr 2009 04:53 PM
AverageIF with cell refenrence as criteria is not working =?Utf-8?B?QmFydCBHZWVybGluZw==?= Microsoft Excel Misc 4 22nd Nov 2007 08:36 PM
Problem with AVERAGEIF and Multiple Criteria Joe Cook Microsoft Excel Worksheet Functions 2 23rd May 2004 06:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:25 AM.