PC Review


Reply
Thread Tools Rate Thread

Counting Blank cells using evaluate(=sumproduct)

 
 
=?Utf-8?B?R3dlbg==?=
Guest
Posts: n/a
 
      28th Nov 2006
Please somebody, tell me why this doesn't work.
I am using version 2003.

Evaluate("=sumproduct((F25:f136=""abc"")*(j24:j136=""))")

I have used the below directly in the worksheet and it works fine.
{=sum((F25:f136=""abc"")*(j24:j136=""))}

Please assist.
Thanks
 
Reply With Quote
 
 
 
 
=?Utf-8?B?QWxvaw==?=
Guest
Posts: n/a
 
      28th Nov 2006
Gwen,

There are unequal number of elements in the two arrays. Is that the problem
or is this an error that crept in while posting to the newsgroup?

"Gwen" wrote:

> Please somebody, tell me why this doesn't work.
> I am using version 2003.
>
> Evaluate("=sumproduct((F25:f136=""abc"")*(j24:j136=""))")
>
> I have used the below directly in the worksheet and it works fine.
> {=sum((F25:f136=""abc"")*(j24:j136=""))}
>
> Please assist.
> Thanks

 
Reply With Quote
 
=?Utf-8?B?R3dlbg==?=
Guest
Posts: n/a
 
      28th Nov 2006
No, that is not the problem.
The array elements are correct in my code. It should be
Evaluate("=sumproduct((F25:f136=""abc"")*(j25:j136=""))")

Thanks.

"Alok" wrote:

> Gwen,
>
> There are unequal number of elements in the two arrays. Is that the problem
> or is this an error that crept in while posting to the newsgroup?
>
> "Gwen" wrote:
>
> > Please somebody, tell me why this doesn't work.
> > I am using version 2003.
> >
> > Evaluate("=sumproduct((F25:f136=""abc"")*(j24:j136=""))")
> >
> > I have used the below directly in the worksheet and it works fine.
> > {=sum((F25:f136=""abc"")*(j24:j136=""))}
> >
> > Please assist.
> > Thanks

 
Reply With Quote
 
=?Utf-8?B?QWxvaw==?=
Guest
Posts: n/a
 
      29th Nov 2006
I think what you need is
Evaluate("=sumproduct(--(F25:f136=""abc"")*--(j25:j136=""""))")
This is because inside the double quotes, two double quotes become one
double quote.

"Gwen" wrote:

> No, that is not the problem.
> The array elements are correct in my code. It should be
> Evaluate("=sumproduct((F25:f136=""abc"")*(j25:j136=""))")
>
> Thanks.
>
> "Alok" wrote:
>
> > Gwen,
> >
> > There are unequal number of elements in the two arrays. Is that the problem
> > or is this an error that crept in while posting to the newsgroup?
> >
> > "Gwen" wrote:
> >
> > > Please somebody, tell me why this doesn't work.
> > > I am using version 2003.
> > >
> > > Evaluate("=sumproduct((F25:f136=""abc"")*(j24:j136=""))")
> > >
> > > I have used the below directly in the worksheet and it works fine.
> > > {=sum((F25:f136=""abc"")*(j24:j136=""))}
> > >
> > > Please assist.
> > > Thanks

 
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
Counting cells using EVALUATE BB Ivan Microsoft Excel Misc 5 29th Jan 2009 07:45 PM
Sumproduct counting blank cells, dates, capturing last row =?Utf-8?B?R3dlbg==?= Microsoft Excel Programming 2 28th Nov 2006 01:35 PM
=SUMPRODUCT formula is counting the blank cells as well as zero's =?Utf-8?B?SlI=?= Microsoft Excel Worksheet Functions 2 16th Mar 2006 03:39 PM
=SUMPRODUCT formula is counting the blank cells as well as zero's =?Utf-8?B?SlI=?= Microsoft Excel Worksheet Functions 1 16th Mar 2006 02:46 PM
sumproduct--counting--zero--blank cells jeremy via OfficeKB.com Microsoft Excel Misc 4 16th Aug 2005 03:22 PM


Features
 

Advertising
 

Newsgroups
 


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