#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default SUMPRODUCT

Hello everybody,
I need somethig like this:
=SUMPRODUCT(--($A$3:$A$272=$X$1:$X$28);--($H$3:$H$272=$D3);--($B$3:$B$272=$T$1);$G$3:$G$272)

Normal formula is:
=SUMPRODUCT(--($A$3:$A$272=$X$1);--($H$3:$H$272=$D3);--($B$3:$B$272=$T$1);$G$3:$G$272)
but I need to compare arreas $A$3:$A$272 and $X$1:$X$28 at the same time
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default SUMPRODUCT

What exactly do you mean "compare... at same time"? Are you trying to check
if the values in A3:A272 appear anywhere in X1:X28?

=SUMPRODUCT((ISNUMBER(MATCH($A$3:$A$272,$X$1:$X$28 ,0)))*($H$3:$H$272=$D3)*($B$3:$B$272=$T$1)*($G$3:$ G$272))

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"George" wrote:

Hello everybody,
I need somethig like this:
=SUMPRODUCT(--($A$3:$A$272=$X$1:$X$28);--($H$3:$H$272=$D3);--($B$3:$B$272=$T$1);$G$3:$G$272)

Normal formula is:
=SUMPRODUCT(--($A$3:$A$272=$X$1);--($H$3:$H$272=$D3);--($B$3:$B$272=$T$1);$G$3:$G$272)
but I need to compare arreas $A$3:$A$272 and $X$1:$X$28 at the same time

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
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 08:50 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 08:06 PM
SUMPRODUCT - Help ceemo Excel Worksheet Functions 16 February 28th 06 03:07 PM
sumproduct JR Excel Worksheet Functions 0 February 16th 06 05:15 PM
Need Help With SUMPRODUCT Ken Zenachon Excel Discussion (Misc queries) 7 January 25th 06 06:52 PM


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