Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Count based on two different criteria

Sheet name Active
column C has names of counties example: marion
column H has the way something sold example: estate sale

I need a count where column C1-C10000 = marion AND H1 - H10000 = estate sale

How do you create a formula based on 2 requirements that have to be true to
be counted?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Count based on two different criteria

Try,

=SUMPRODUCT((C1:C1000="Marion")*(H1:H1000="Estate sale"))

Mike

"dabnat" wrote:

Sheet name Active
column C has names of counties example: marion
column H has the way something sold example: estate sale

I need a count where column C1-C10000 = marion AND H1 - H10000 = estate sale

How do you create a formula based on 2 requirements that have to be true to
be counted?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Count based on two different criteria

Mike H - Do I need to put something in to reference the sheet the data is
coming from "active" and not the sheet where the data will show?

"Mike H" wrote:

Try,

=SUMPRODUCT((C1:C1000="Marion")*(H1:H1000="Estate sale"))

Mike

"dabnat" wrote:

Sheet name Active
column C has names of counties example: marion
column H has the way something sold example: estate sale

I need a count where column C1-C10000 = marion AND H1 - H10000 = estate sale

How do you create a formula based on 2 requirements that have to be true to
be counted?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Count based on two different criteria

If the formula is on a different sheet than the referenced data, then yes.

=SUMPRODUCT((Active!C1:C1000="Marion")*(Active!H1: H1000="Estate sale"))


--
Biff
Microsoft Excel MVP


"dabnat" wrote in message
...
Mike H - Do I need to put something in to reference the sheet the data is
coming from "active" and not the sheet where the data will show?

"Mike H" wrote:

Try,

=SUMPRODUCT((C1:C1000="Marion")*(H1:H1000="Estate sale"))

Mike

"dabnat" wrote:

Sheet name Active
column C has names of counties example: marion
column H has the way something sold example: estate sale

I need a count where column C1-C10000 = marion AND H1 - H10000 = estate
sale

How do you create a formula based on 2 requirements that have to be
true to
be counted?



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
Count instances based on two criteria Stuart Mantel[_2_] Excel Worksheet Functions 2 September 4th 08 08:17 PM
COUNT based on 2 criteria [email protected] Excel Worksheet Functions 14 March 25th 08 12:40 PM
Count based on criteria ba374 Excel Discussion (Misc queries) 1 December 20th 07 11:19 PM
Count based on criteria from two different columns ba374 Excel Discussion (Misc queries) 2 November 13th 07 04:41 PM
Count or Sum based on more than 1 criteria Andrew C Excel Worksheet Functions 1 December 29th 05 09:46 PM


All times are GMT +1. The time now is 11:30 PM.

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

About Us

"It's about Microsoft Excel"