Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mike R.
 
Posts: n/a
Default Using COUNTIF with 2 criteria - SUMPRODUCT?

Greetings,
I would like to COUNTIF with 2 criteria and I have read on how to use
SUMPRODUCT to accomplish this. However, I am still getting a pretty #NUM!
error in the calculation. Here is my formula:

=SUMPRODUCT(--('Turnover Details by HR Group'!D:D=A4),--('Turnover Details
by HR Group'!B:B=$B$2))

Please help. Thank you,
Mike
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

SUMPRODUCT nor array formulas can handle entire column
references. Rather than using D:D, use something like
D1:D2000.

HTH
Jason
Atlanta, GA

-----Original Message-----
Greetings,
I would like to COUNTIF with 2 criteria and I have read

on how to use
SUMPRODUCT to accomplish this. However, I am still

getting a pretty #NUM!
error in the calculation. Here is my formula:

=SUMPRODUCT(--('Turnover Details by HR Group'!D:D=A4),--

('Turnover Details
by HR Group'!B:B=$B$2))

Please help. Thank you,
Mike
.

  #3   Report Post  
Mike R.
 
Posts: n/a
Default

Perfect... I thought there was something wierd like that, I just couldn't
remember or find it in the newsgroup. Thanks!


"Jason Morin" wrote:

SUMPRODUCT nor array formulas can handle entire column
references. Rather than using D:D, use something like
D1:D2000.

HTH
Jason
Atlanta, GA

-----Original Message-----
Greetings,
I would like to COUNTIF with 2 criteria and I have read

on how to use
SUMPRODUCT to accomplish this. However, I am still

getting a pretty #NUM!
error in the calculation. Here is my formula:

=SUMPRODUCT(--('Turnover Details by HR Group'!D:D=A4),--

('Turnover Details
by HR Group'!B:B=$B$2))

Please help. Thank you,
Mike
.


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
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM
Countif with dynamic criteria FinChase Excel Worksheet Functions 5 January 6th 05 07:19 PM
Sumproduct - multiple criteria in Column A briank Excel Worksheet Functions 2 January 6th 05 06:44 PM
use a date range as criteria in a countif formula mbparks Excel Worksheet Functions 3 January 2nd 05 11:06 PM
How do I get the COUNTIF criteria to recognize only month and yea. Omega Excel Worksheet Functions 4 November 6th 04 07:22 AM


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