#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Countif for 2003

I have a spreadsheet that lists individual and renewal month:

A 1/1
A 2/1
A 1/1
B 1/1
B 2/1
B 1/1

I'm trying to count the total number of January renwals for "A" and January
renewals for "B" on a separate "Totals" page. The person I'm creating this
for has 2003 while I have 2007. I tried the "COUNTIFS" last time and it
doesn't produce a result for them. I'm banging my head against the wall.
Any help is appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Countif for 2003

Try something like this:

=SUMPRODUCT(--(A1:A10="A"),--(MONTH(B1:B10)=n))

Where n = month number: Jan = 1 thru Dec = 12

--
Biff
Microsoft Excel MVP


"Tamara" wrote in message
...
I have a spreadsheet that lists individual and renewal month:

A 1/1
A 2/1
A 1/1
B 1/1
B 2/1
B 1/1

I'm trying to count the total number of January renwals for "A" and
January
renewals for "B" on a separate "Totals" page. The person I'm creating
this
for has 2003 while I have 2007. I tried the "COUNTIFS" last time and it
doesn't produce a result for them. I'm banging my head against the wall.
Any help is appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Countif for 2003

I apologize that initially, I read the reply and just "pshawed" as I went a
totally different way. Now, I came back and did more research on SUMPRODUCT
and your answer is exactly what I've been looking for. Thank you so much and
I promise not to "pshaw" again! Thank you!!

"T. Valko" wrote:

Try something like this:

=SUMPRODUCT(--(A1:A10="A"),--(MONTH(B1:B10)=n))

Where n = month number: Jan = 1 thru Dec = 12

--
Biff
Microsoft Excel MVP


"Tamara" wrote in message
...
I have a spreadsheet that lists individual and renewal month:

A 1/1
A 2/1
A 1/1
B 1/1
B 2/1
B 1/1

I'm trying to count the total number of January renwals for "A" and
January
renewals for "B" on a separate "Totals" page. The person I'm creating
this
for has 2003 while I have 2007. I tried the "COUNTIFS" last time and it
doesn't produce a result for them. I'm banging my head against the wall.
Any help is appreciated.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Countif for 2003

I read the reply and just "pshawed"

Ah heck! Don't you trust me? <g

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Tamara" wrote in message
...
I apologize that initially, I read the reply and just "pshawed" as I went a
totally different way. Now, I came back and did more research on
SUMPRODUCT
and your answer is exactly what I've been looking for. Thank you so much
and
I promise not to "pshaw" again! Thank you!!

"T. Valko" wrote:

Try something like this:

=SUMPRODUCT(--(A1:A10="A"),--(MONTH(B1:B10)=n))

Where n = month number: Jan = 1 thru Dec = 12

--
Biff
Microsoft Excel MVP


"Tamara" wrote in message
...
I have a spreadsheet that lists individual and renewal month:

A 1/1
A 2/1
A 1/1
B 1/1
B 2/1
B 1/1

I'm trying to count the total number of January renwals for "A" and
January
renewals for "B" on a separate "Totals" page. The person I'm creating
this
for has 2003 while I have 2007. I tried the "COUNTIFS" last time and
it
doesn't produce a result for them. I'm banging my head against the
wall.
Any help is 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
Countif with dates for vs 2003 Kay Excel Worksheet Functions 8 January 26th 09 01:01 AM
countif for 2003 mbreter Excel Discussion (Misc queries) 1 September 4th 08 02:26 AM
excel 2003-countif statement confused2007 Excel Discussion (Misc queries) 4 September 19th 07 11:02 PM
COUNTIF Bug in Excel 2003 byundt Excel Worksheet Functions 5 July 22nd 05 03:51 PM
WHERE IS COUNTIF IN EXCEL 2003 Nimrod Excel Worksheet Functions 3 November 19th 04 02:46 AM


All times are GMT +1. The time now is 12:30 AM.

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"