PC Review


Reply
Thread Tools Rate Thread

countif with two columns?

 
 
viveleroi0
Guest
Posts: n/a
 
      30th Aug 2004
I have two columns... G and H.

Employee names are in G and dates are in H, I want to count how man
times one name came up on a certain date...

for example:

COUNTIF(G1:G4000, "Nicole")

combined with:

COUNTIF(H1:H4000, "08/26/2004"

--
Message posted from http://www.ExcelForum.com

 
Reply With Quote
 
 
 
 
Frank Kabel
Guest
Posts: n/a
 
      30th Aug 2004
Hi
COUNTIF can't do this but use SUMPRODUCT instead:
=SUMPRODUCT(--(G1:G4000="Nicole"),--(H1:H4000=DATE(2004,8,26)))

Also see:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html


--
Regards
Frank Kabel
Frankfurt, Germany


> I have two columns... G and H.
>
> Employee names are in G and dates are in H, I want to count how many
> times one name came up on a certain date...
>
> for example:
>
> COUNTIF(G1:G4000, "Nicole")
>
> combined with:
>
> COUNTIF(H1:H4000, "08/26/2004")
>
>
> ---
> Message posted from http://www.ExcelForum.com/

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Countif using two columns? Scott Stedman Microsoft Excel Misc 6 7th May 2011 12:59 PM
COUNTIF with 2 columns J.A.1975 Microsoft Excel Worksheet Functions 2 28th Apr 2011 03:36 PM
Countif for 2 columns earlfj Microsoft Excel Worksheet Functions 3 27th Sep 2009 05:42 AM
countif in 2 columns Tonso Microsoft Excel Misc 4 23rd Oct 2007 04:51 PM
Re: countif from two columns Arvi Laanemets Microsoft Excel Worksheet Functions 0 30th Jul 2003 07:08 AM


Features
 

Advertising
 

Newsgroups
 


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