#1   Report Post  
Lee
 
Posts: n/a
Default Sumproduct questin

I have the following sumproduct formula

=SUMPRODUCT((Opp_Detail_Date=B5)*(Opp_Detail_Date <B6)*
((Opp_Detail_Name=Index!B2)+(Opp_Detail_Name=Index !B3)))

Opp_Detail_Date and Opp_Detail_Name are named ranges.

I want to extend this part of the
formula "((Opp_Detail_Name=Index!B2)+
(Opp_Detail_Name=Index!B3))" so that is calculates the
results for the range Index!B2:B73.

There has to be a better way of doing this then adding "+
(Opp_Detail_Name=Index!B14)" etc 71 times.

Any suggestions?

Thx
Lee
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Try something like

=SUM((Opp_Detail_Date=B5)*(Opp_Detail_Date<B6)*(( Opp_Detail_Name=TRANSPOSE(Index!B2:B73))))

entered with ctrl + shift & enter

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



"Lee" wrote in message
...
I have the following sumproduct formula

=SUMPRODUCT((Opp_Detail_Date=B5)*(Opp_Detail_Date <B6)*
((Opp_Detail_Name=Index!B2)+(Opp_Detail_Name=Index !B3)))

Opp_Detail_Date and Opp_Detail_Name are named ranges.

I want to extend this part of the
formula "((Opp_Detail_Name=Index!B2)+
(Opp_Detail_Name=Index!B3))" so that is calculates the
results for the range Index!B2:B73.

There has to be a better way of doing this then adding "+
(Opp_Detail_Name=Index!B14)" etc 71 times.

Any suggestions?

Thx
Lee



  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

=SUMPRODUCT(--(Opp_Detail_Date=B5),--(Opp_Detail_Date<B6),--ISNUMBER(MATCH(Opp_Detail_Name,Index!B2:B73,0)))

Lee wrote:
I have the following sumproduct formula

=SUMPRODUCT((Opp_Detail_Date=B5)*(Opp_Detail_Date <B6)*
((Opp_Detail_Name=Index!B2)+(Opp_Detail_Name=Index !B3)))

Opp_Detail_Date and Opp_Detail_Name are named ranges.

I want to extend this part of the
formula "((Opp_Detail_Name=Index!B2)+
(Opp_Detail_Name=Index!B3))" so that is calculates the
results for the range Index!B2:B73.

There has to be a better way of doing this then adding "+
(Opp_Detail_Name=Index!B14)" etc 71 times.

Any suggestions?

Thx
Lee

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
Another Sumproduct & #N/A problem Dave Davis Excel Worksheet Functions 3 January 10th 05 03:59 PM
Sumproduct - multiple criteria in Column A briank Excel Worksheet Functions 2 January 6th 05 06:44 PM
Sumproduct ... Empty Cells vs Spaces? Ken Excel Discussion (Misc queries) 9 December 17th 04 08:03 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 05:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"