Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default Opposite of Countifs

I have two columns of data. One contains the number of adults per household
and the other contains the number of children. The rest of the sheet is
filled out with survey data for my thesis.

Im using countifs and averageifs to analyze data for households that have
at least one adult and one child.

Is there a formula that returns the data that doesnt pass the if statement?
I need to count and average the households that have less than one adult
and/or less than 1 child.

Any suggestions?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Opposite of Countifs

On Sat, 10 Oct 2009 15:43:01 -0700, Steve
wrote:

I have two columns of data. One contains the number of adults per household
and the other contains the number of children. The rest of the sheet is
filled out with survey data for my thesis.

I’m using countifs and averageifs to analyze data for households that have
at least one adult and one child.

Is there a formula that returns the data that doesn’t pass the if statement?
I need to count and average the households that have less than one adult
and/or less than 1 child.

Any suggestions?


The count would simply be the count of households less the value you get in
your countifs formula above:

e.g. =COUNTA(Household)-COUNTIFS(AdultCount,"0",ChildCount,"0")

I'm not sure from your explanation what it is that you are averaging, so you'll
have to be more specific.

You might be able to use the above count formula as the divisor, and sum up
whatever it is you are interested in averaging.


--ron
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Opposite of Countifs

Hi,

=sumproduct((rangeA=1)*(rangeB=1)) - RangeA has number of adults and RangeB
has number of children

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Steve" wrote in message
...
I have two columns of data. One contains the number of adults per
household
and the other contains the number of children. The rest of the sheet is
filled out with survey data for my thesis.

Im using countifs and averageifs to analyze data for households that have
at least one adult and one child.

Is there a formula that returns the data that doesnt pass the if
statement?
I need to count and average the households that have less than one adult
and/or less than 1 child.

Any suggestions?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Countifs to Sumproduct for 2003 - was Simple Countifs.. from Fr Steve Excel Worksheet Functions 2 January 4th 09 05:36 PM
Opposite of Vlookup Edward Excel Discussion (Misc queries) 6 November 3rd 07 05:45 PM
What is the function opposite of LOG erik Excel Worksheet Functions 3 January 28th 06 08:52 AM
Opposite of Concatenate shane24 Excel Worksheet Functions 6 December 2nd 05 12:14 PM
What function is the opposite of SUM? rsilver Excel Discussion (Misc queries) 4 November 19th 05 06:56 PM


All times are GMT +1. The time now is 08:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"