Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   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 11:44 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"