Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default DCOUNT or nested functions?

The help page for the DCOUNT function is a little confusing. I am trying to
count the number of cells that meet criteria in 2 different columns. For
example, I have a column of cars by model and a column with the month and
year the cars were purchased. I want a count of each model bought during a
specific month/year. Is there another way to do this (i.e. nest the COUNTIF
function) besides DCOUNT?

any help would be appreciated...
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default DCOUNT or nested functions?

You could use a SUMPRODUCT formula similar to this:
=SUMPRODUCT(--(A16:A19="Ford"),--(B16:B19=2005))

Here is a link to a great tutorial about SUMPRODUCT:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

Hope this helps,

Hutch

"martinbarnes" wrote:

The help page for the DCOUNT function is a little confusing. I am trying to
count the number of cells that meet criteria in 2 different columns. For
example, I have a column of cars by model and a column with the month and
year the cars were purchased. I want a count of each model bought during a
specific month/year. Is there another way to do this (i.e. nest the COUNTIF
function) besides DCOUNT?

any help would be appreciated...

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default DCOUNT or nested functions?

Hutch,

Thanks a ton - that was perfect.

Marty


"Tom Hutchins" wrote:

You could use a SUMPRODUCT formula similar to this:
=SUMPRODUCT(--(A16:A19="Ford"),--(B16:B19=2005))

Here is a link to a great tutorial about SUMPRODUCT:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

Hope this helps,

Hutch

"martinbarnes" wrote:

The help page for the DCOUNT function is a little confusing. I am trying to
count the number of cells that meet criteria in 2 different columns. For
example, I have a column of cars by model and a column with the month and
year the cars were purchased. I want a count of each model bought during a
specific month/year. Is there another way to do this (i.e. nest the COUNTIF
function) besides DCOUNT?

any help would be appreciated...

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
DCOUNT and DSUM functions [email protected] Excel Worksheet Functions 1 June 27th 06 06:22 PM
nested if functions? Struggling of Essex Excel Discussion (Misc queries) 6 December 29th 05 08:00 PM
Nested functions HELP! chiefnmd Excel Worksheet Functions 7 August 25th 05 05:20 AM
nested if(and) functions Rohan Excel Discussion (Misc queries) 3 August 12th 05 01:30 AM
Too many nested functions F6Hawk Excel Worksheet Functions 4 November 9th 04 04:38 AM


All times are GMT +1. The time now is 12:40 PM.

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"