#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default CountIfs

I'm looking to get a count by using two selection criteria. So far I've used
this formula and have not been successful.

=COUNTIFS('Column Integration'!Z2:Z17,"2", 'Column
Integration'!T2:T1082,"Recommended")

Basically I want a count of all fields that are "Recommended" and have a
value of "2".

Thanks for any help anyone can provide.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default CountIfs

You need the test ranges to be the same size as they are being matched off.

--
__________________________________
HTH

Bob

"vreeckes" wrote in message
...
I'm looking to get a count by using two selection criteria. So far I've
used
this formula and have not been successful.

=COUNTIFS('Column Integration'!Z2:Z17,"2", 'Column
Integration'!T2:T1082,"Recommended")

Basically I want a count of all fields that are "Recommended" and have a
value of "2".

Thanks for any help anyone can provide.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7,247
Default CountIfs

Try getting rid of the quotes around the 2 character.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)

On Wed, 18 Feb 2009 15:13:04 -0800, vreeckes
wrote:

I'm looking to get a count by using two selection criteria. So far I've used
this formula and have not been successful.

=COUNTIFS('Column Integration'!Z2:Z17,"2", 'Column
Integration'!T2:T1082,"Recommended")

Basically I want a count of all fields that are "Recommended" and have a
value of "2".

Thanks for any help anyone can provide.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default CountIfs

Try this sumproduct equivalent (all in the same cell):
=SUMPRODUCT(('Column Integration'!Z2:Z1082=2)*
('Column Integration'!T2:T1082="Recommended"))

The ranges need to be of identical size. And I've also presumed that your
col Z contains real numbers, ie you meant: =2

If above helped, click YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,500 Files:370 Subscribers:66
xdemechanik
---
"vreeckes" wrote:
I'm looking to get a count by using two selection criteria. So far I've used
this formula and have not been successful.

=COUNTIFS('Column Integration'!Z2:Z17,"2", 'Column
Integration'!T2:T1082,"Recommended")

Basically I want a count of all fields that are "Recommended" and have a
value of "2".

Thanks for any help anyone can provide.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default CountIfs

Try this...

Use cells to hold your criteria.

A1 = Recommended
B1 = 2

=COUNTIFS('Column Integration'!T2:T1082,A1,'Column Integration'!Z2:Z1082,B1)


--
Biff
Microsoft Excel MVP


"vreeckes" wrote in message
...
I'm looking to get a count by using two selection criteria. So far I've
used
this formula and have not been successful.

=COUNTIFS('Column Integration'!Z2:Z17,"2", 'Column
Integration'!T2:T1082,"Recommended")

Basically I want a count of all fields that are "Recommended" and have a
value of "2".

Thanks for any help anyone can provide.



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
COUNTIFS Skinman Excel Worksheet Functions 3 December 11th 08 05:29 AM
Countifs Diane Excel Worksheet Functions 1 November 21st 08 09:43 AM
Countifs Fx in 07 how in 03? HenderH Excel Discussion (Misc queries) 19 March 26th 08 12:37 PM
countifs Forza MIlan Excel Discussion (Misc queries) 2 July 4th 07 09:48 AM


All times are GMT +1. The time now is 11:28 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"