Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default Sumproduct and Array Formula

Hi,

I have an Array formula which is entered with CTRL + SHIFT + ENTER.

I'm wondering if I can achieve the same result with a Sumproduct formula or
something else.

The array Formula I have is as follows:

{=SUM(IF((July!$B$11:July!$B$2000)*(July!$F$11:Ju ly!$F$200=July!$BK$12)*(July!$K$11:July!$K$200=Jul y!AV11)*(July!$G$11:July!$G$200=0),July!$AK$11:Jul y!$AK$200))}
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sumproduct and Array Formula

Try this:

=SUMPRODUCT(--(July!$B$11:$B$2000),--(July!$F$11:$F$200=July!$BK$12),--(July!$K$11:$K$200=July!AV11),--(July!$G$11:$G$200=0),July!$AK$11:$AK$200)


--
Biff
Microsoft Excel MVP


"StephenAccountant" wrote in
message ...
Hi,

I have an Array formula which is entered with CTRL + SHIFT + ENTER.

I'm wondering if I can achieve the same result with a Sumproduct formula
or
something else.

The array Formula I have is as follows:

{=SUM(IF((July!$B$11:July!$B$2000)*(July!$F$11:Ju ly!$F$200=July!$BK$12)*(July!$K$11:July!$K$200=Jul y!AV11)*(July!$G$11:July!$G$200=0),July!$AK$11:Jul y!$AK$200))}



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default Sumproduct and Array Formula

Thanks - that works.

Curious - what does -- mean?

"T. Valko" wrote:

Try this:

=SUMPRODUCT(--(July!$B$11:$B$2000),--(July!$F$11:$F$200=July!$BK$12),--(July!$K$11:$K$200=July!AV11),--(July!$G$11:$G$200=0),July!$AK$11:$AK$200)


--
Biff
Microsoft Excel MVP


"StephenAccountant" wrote in
message ...
Hi,

I have an Array formula which is entered with CTRL + SHIFT + ENTER.

I'm wondering if I can achieve the same result with a Sumproduct formula
or
something else.

The array Formula I have is as follows:

{=SUM(IF((July!$B$11:July!$B$2000)*(July!$F$11:Ju ly!$F$200=July!$BK$12)*(July!$K$11:July!$K$200=Jul y!AV11)*(July!$G$11:July!$G$200=0),July!$AK$11:Jul y!$AK$200))}




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sumproduct and Array Formula

Curious - what does -- mean?

It has the same effect as multiplying the arrays together like you did in
your other formula, only it's slightly more efficient.

(A1:A10="X")*(B1:B10="Y")

The above returns an array of 1s and 0s

--(A1:A10="X") does the same thing more efficiently.

See this:

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

--
Biff
Microsoft Excel MVP


"StephenAccountant" wrote in
message ...
Thanks - that works.

Curious - what does -- mean?

"T. Valko" wrote:

Try this:

=SUMPRODUCT(--(July!$B$11:$B$2000),--(July!$F$11:$F$200=July!$BK$12),--(July!$K$11:$K$200=July!AV11),--(July!$G$11:$G$200=0),July!$AK$11:$AK$200)


--
Biff
Microsoft Excel MVP


"StephenAccountant" wrote
in
message ...
Hi,

I have an Array formula which is entered with CTRL + SHIFT + ENTER.

I'm wondering if I can achieve the same result with a Sumproduct
formula
or
something else.

The array Formula I have is as follows:

{=SUM(IF((July!$B$11:July!$B$2000)*(July!$F$11:Ju ly!$F$200=July!$BK$12)*(July!$K$11:July!$K$200=Jul y!AV11)*(July!$G$11:July!$G$200=0),July!$AK$11:Jul y!$AK$200))}






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
Help with Possible Array or Sumproduct Formula Steph Excel Worksheet Functions 7 February 23rd 08 08:55 PM
Array formula for SUMPRODUCT Martin Fishlock Excel Worksheet Functions 1 January 10th 07 03:07 AM
Baseball sumproduct/array formula? uw805 Excel Worksheet Functions 0 June 8th 06 11:12 AM
do I need array formula or sumproduct for counting? Karin Excel Worksheet Functions 3 March 30th 06 05:50 PM
SUMPRODUCT as array formula? Henrik Excel Worksheet Functions 2 November 2nd 05 07:08 AM


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

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"