Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 504
Default Conditional CountIf Question (asked different way)

1/1/2010 N/A
1/3/2010 Something
2/4/2010 Something
2/5/2010 N/A
2/9/2010 Something
2/22/2010 Something
5/10/2010 Something

What formula will count all the dates in Febuary that don't have N/A in
Column B? So the formula should return a value of 3. Thanks in advance!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 320
Default Conditional CountIf Question (asked different way)

=SUMPRODUCT(--(MONTH(A1:A7)=2),--(B1:B7<"N/A"))
Bob Umlas
Excel MVP

"Kevin" wrote in message
...
1/1/2010 N/A
1/3/2010 Something
2/4/2010 Something
2/5/2010 N/A
2/9/2010 Something
2/22/2010 Something
5/10/2010 Something

What formula will count all the dates in Febuary that don't have N/A in
Column B? So the formula should return a value of 3. Thanks in advance!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Conditional CountIf Question (asked different way)

Assuming your N/A are actually #N/A returned from a formula then
=SUMPRODUCT(--(MONTH(A1:A7)=2), --(NOT(ISNA(B1:B7))))

else if they are text "N/A" then
=SUMPRODUCT(--(MONTH(A1:A7)=2), --(B1:B7<"N/A"))

Like I said SumProduct...
--
HTH...

Jim Thomlinson


"Kevin" wrote:

1/1/2010 N/A
1/3/2010 Something
2/4/2010 Something
2/5/2010 N/A
2/9/2010 Something
2/22/2010 Something
5/10/2010 Something

What formula will count all the dates in Febuary that don't have N/A in
Column B? So the formula should return a value of 3. Thanks in advance!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 504
Default Conditional CountIf Question (asked different way)

Thanks. I looked at that webpage but couldn't figure it out. Appreciate the
help!!

"Jim Thomlinson" wrote:

Assuming your N/A are actually #N/A returned from a formula then
=SUMPRODUCT(--(MONTH(A1:A7)=2), --(NOT(ISNA(B1:B7))))

else if they are text "N/A" then
=SUMPRODUCT(--(MONTH(A1:A7)=2), --(B1:B7<"N/A"))

Like I said SumProduct...
--
HTH...

Jim Thomlinson


"Kevin" wrote:

1/1/2010 N/A
1/3/2010 Something
2/4/2010 Something
2/5/2010 N/A
2/9/2010 Something
2/22/2010 Something
5/10/2010 Something

What formula will count all the dates in Febuary that don't have N/A in
Column B? So the formula should return a value of 3. Thanks in advance!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Conditional CountIf Question (asked different way)

Take another crack at that web page. It takes a bit of time to wade through
it but it's worth it.
--
HTH...

Jim Thomlinson


"Kevin" wrote:

Thanks. I looked at that webpage but couldn't figure it out. Appreciate the
help!!

"Jim Thomlinson" wrote:

Assuming your N/A are actually #N/A returned from a formula then
=SUMPRODUCT(--(MONTH(A1:A7)=2), --(NOT(ISNA(B1:B7))))

else if they are text "N/A" then
=SUMPRODUCT(--(MONTH(A1:A7)=2), --(B1:B7<"N/A"))

Like I said SumProduct...
--
HTH...

Jim Thomlinson


"Kevin" wrote:

1/1/2010 N/A
1/3/2010 Something
2/4/2010 Something
2/5/2010 N/A
2/9/2010 Something
2/22/2010 Something
5/10/2010 Something

What formula will count all the dates in Febuary that don't have N/A in
Column B? So the formula should return a value of 3. Thanks in advance!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 504
Default Conditional CountIf Question (asked different way)

Will do. Also, I noticed you can only do this up to about 25 rows before you
get an error (I guess that's the 255 array thing). Any way to get around that
besides creating 4 of them (if you have 100 rows)?

"Jim Thomlinson" wrote:

Take another crack at that web page. It takes a bit of time to wade through
it but it's worth it.
--
HTH...

Jim Thomlinson


"Kevin" wrote:

Thanks. I looked at that webpage but couldn't figure it out. Appreciate the
help!!

"Jim Thomlinson" wrote:

Assuming your N/A are actually #N/A returned from a formula then
=SUMPRODUCT(--(MONTH(A1:A7)=2), --(NOT(ISNA(B1:B7))))

else if they are text "N/A" then
=SUMPRODUCT(--(MONTH(A1:A7)=2), --(B1:B7<"N/A"))

Like I said SumProduct...
--
HTH...

Jim Thomlinson


"Kevin" wrote:

1/1/2010 N/A
1/3/2010 Something
2/4/2010 Something
2/5/2010 N/A
2/9/2010 Something
2/22/2010 Something
5/10/2010 Something

What formula will count all the dates in Febuary that don't have N/A in
Column B? So the formula should return a value of 3. Thanks in advance!

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 504
Default Conditional CountIf Question (asked different way)

Out of curiosity, what do the '--' do? I've never seen 2 dashes in a row

"Jim Thomlinson" wrote:

Assuming your N/A are actually #N/A returned from a formula then
=SUMPRODUCT(--(MONTH(A1:A7)=2), --(NOT(ISNA(B1:B7))))

else if they are text "N/A" then
=SUMPRODUCT(--(MONTH(A1:A7)=2), --(B1:B7<"N/A"))

Like I said SumProduct...
--
HTH...

Jim Thomlinson


"Kevin" wrote:

1/1/2010 N/A
1/3/2010 Something
2/4/2010 Something
2/5/2010 N/A
2/9/2010 Something
2/22/2010 Something
5/10/2010 Something

What formula will count all the dates in Febuary that don't have N/A in
Column B? So the formula should return a value of 3. Thanks in advance!

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Conditional CountIf Question (asked different way)

coerces true / false into 1 / 0...
--
HTH...

Jim Thomlinson


"Kevin" wrote:

Out of curiosity, what do the '--' do? I've never seen 2 dashes in a row

"Jim Thomlinson" wrote:

Assuming your N/A are actually #N/A returned from a formula then
=SUMPRODUCT(--(MONTH(A1:A7)=2), --(NOT(ISNA(B1:B7))))

else if they are text "N/A" then
=SUMPRODUCT(--(MONTH(A1:A7)=2), --(B1:B7<"N/A"))

Like I said SumProduct...
--
HTH...

Jim Thomlinson


"Kevin" wrote:

1/1/2010 N/A
1/3/2010 Something
2/4/2010 Something
2/5/2010 N/A
2/9/2010 Something
2/22/2010 Something
5/10/2010 Something

What formula will count all the dates in Febuary that don't have N/A in
Column B? So the formula should return a value of 3. Thanks in advance!

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
function question (sumif countif conditional) Norbert Excel Worksheet Functions 0 February 25th 08 09:37 PM
Finding the list of the question I have asked Old Keith Excel Worksheet Functions 6 July 17th 07 06:18 PM
enable macros question not being asked when opening file Aussie Ells Excel Discussion (Misc queries) 1 June 7th 07 04:05 AM
I bet this has been asked before Wibs Excel Discussion (Misc queries) 2 January 18th 06 08:37 PM
Question on Conditional COUNTIF Question on Conditonal Countif Excel Worksheet Functions 2 February 13th 05 07:29 PM


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