Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default sumproduct in VBA

Hi all,
please someone check my formula and say what is wrong in it:
Range("B10").Formula
="SUMPRODUCT((PI!B10:B200=1)*(PI!D10:D200='11')*( PI!H10:H200='GREEN')*(PI!L10:L200='YES')*(PI!J10:J 200=A10)*(PI!F10:F200))"
Thanks in advance
Bijan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default sumproduct in VBA

Hi,


Try this

Range("B10").Formula =
"=SUMPRODUCT((PI!B10:B200=1)*(PI!D10:D200=11)*(PI !H10:H200=""GREEN"")*(PI!L10:L200=""YES"")*(PI!J10 :J200=A10)*(PI!F10:F200))"

Mike

"bijan" wrote:

Hi all,
please someone check my formula and say what is wrong in it:
Range("B10").Formula
="SUMPRODUCT((PI!B10:B200=1)*(PI!D10:D200='11')*( PI!H10:H200='GREEN')*(PI!L10:L200='YES')*(PI!J10:J 200=A10)*(PI!F10:F200))"
Thanks in advance
Bijan

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 293
Default sumproduct in VBA

Hi bijan,

Try:
Range("B10").Formula =
"=SUMPRODUCT((PI!B10:B200=1)*(PI!D10:D200=11)*(PI !H10:H200=""GREEN"")*(PI!L10:L200=""YES"")*(PI!J10 :J200=A10)*(PI!F10:F200))"

--
Cheers
macropod
[MVP - Microsoft Word]


"bijan" wrote in message ...
Hi all,
please someone check my formula and say what is wrong in it:
Range("B10").Formula
="SUMPRODUCT((PI!B10:B200=1)*(PI!D10:D200='11')*( PI!H10:H200='GREEN')*(PI!L10:L200='YES')*(PI!J10:J 200=A10)*(PI!F10:F200))"
Thanks in advance
Bijan


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 747
Default sumproduct in VBA

Range("B9").Formula = "=SUMPRODUCT((PI!B10:B200=1)*(PI!D10:D200=11) *
(PI!H10:H200=""GREEN"")*(PI!L10:L200=""YES"")*(PI! J10:J200=A10)*
(sheet2!F10:F200))"


On Nov 23, 3:56*pm, bijan wrote:
Hi all,
please someone check my formula and say what is wrong in it:
Range("B10").Formula
="SUMPRODUCT((PI!B10:B200=1)*(PI!D10:D200='11')*( PI!H10:H200='GREEN')*(PI!L10:L200='YES')*(PI!J10:J 200=A10)*(PI!F10:F200))"
Thanks in advance
Bijan


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
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
sumproduct erik550 Excel Discussion (Misc queries) 1 March 7th 06 07:45 PM
sumproduct Rob Excel Worksheet Functions 4 February 13th 06 03:29 AM


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