Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
javamom
 
Posts: n/a
Default SUMPRODUCT vs. COUNTIF -- Why does one work?

I'm stumped on this and reading through the archived messages has not
shed any light yet.

Using =COUNTIF(V2:V11,"*Very Clear*") to determine the number of times
"Very Clear" is listed works great.

Using
=SUMPRODUCT(--(E2:E11=DATEVALUE("10/19/2004")),--(V2:V11="*Very*Clear*"))
to determine the number times "Very Clear" is listed on a particular
date returns the inaccurate value of "0".

What am I missing? Thanks! Trish (Excel 2000, WinXP)

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default SUMPRODUCT vs. COUNTIF -- Why does one work?

One way

=SUMPRODUCT(--(E2:E11=--"2004-10-19"),--(ISNUMBER(SEARCH("Very
Clear",V2:V11))))


note that I removed datevalue, it is of no real value, I also changed the
date format to a date that will translate to other regional date systems

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com


"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"javamom" wrote in message
oups.com...
I'm stumped on this and reading through the archived messages has not
shed any light yet.

Using =COUNTIF(V2:V11,"*Very Clear*") to determine the number of times
"Very Clear" is listed works great.

Using
=SUMPRODUCT(--(E2:E11=DATEVALUE("10/19/2004")),--(V2:V11="*Very*Clear*"))
to determine the number times "Very Clear" is listed on a particular
date returns the inaccurate value of "0".

What am I missing? Thanks! Trish (Excel 2000, WinXP)



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
javamom
 
Posts: n/a
Default SUMPRODUCT vs. COUNTIF -- Why does one work?

I tried your suggestion and it still returns a 0.

I noticed you removed the asterisks around the "Very Clear" but I've
found I need to have those to make the COUNTIF work. Could the problem
be that the text itself is not very clean and extra characters are
causing a problem with SUMPRODUCT?

Oddly, if I copy the contents from one of the text cells and paste it
into the Excel find/replace feature, the program cannot find that text.
I'm starting to suspect that I have weird text characters because this
content has traveled across many platforms before being imported into
the spreadsheet. Is SUMPRODUCT sensitive in maaner that COUNTIF is not?


Grasping at straws... Trish

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default SUMPRODUCT vs. COUNTIF -- Why does one work?

javamom wrote:
I tried your suggestion and it still returns a 0.

I noticed you removed the asterisks around the "Very Clear" but I've
found I need to have those to make the COUNTIF work. Could the problem
be that the text itself is not very clean and extra characters are
causing a problem with SUMPRODUCT?

Oddly, if I copy the contents from one of the text cells and paste it
into the Excel find/replace feature, the program cannot find that text.
I'm starting to suspect that I have weird text characters because this
content has traveled across many platforms before being imported into
the spreadsheet. Is SUMPRODUCT sensitive in maaner that COUNTIF is not?


Grasping at straws... Trish


Peo removed the atserisk because he did a SEARCH in its place, which
caters for the string within.

Maybe the wrap-around did you, try

=SUMPRODUCT(--(E2:E11=--"2004-10-19"),
--(ISNUMBER(SEARCH("Very Clear",V2:V11))))
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, sumif, sumproduct - I dont know which to use Jim Excel Worksheet Functions 3 January 4th 06 01:51 PM
Countif or Sumproduct Harley Excel Discussion (Misc queries) 8 December 22nd 05 12:34 AM
Work Rota - Do I need a formula? dataheadache Excel Discussion (Misc queries) 11 October 3rd 05 10:53 PM
COUNTIF doesnt work! jjj Excel Worksheet Functions 2 September 30th 05 02:38 AM
Sumproduct help needed! Trying to excel in life but need help Excel Worksheet Functions 5 January 21st 05 09:07 PM


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