LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 683
Default Sumproduct Excluding Data

Is there a way to setup a formula using Sumproduct to exclude data?
Specifically, I'm trying to calculate a weighted average using the following
formula...

=SUMPRODUCT(--(CE!$G$2:$G$200="MMFund")*(CE!$F$2:$F$200<ISNUMBE R(SEARCH("gov",CE!$F$2:$F$200))),CE!$Z$2:$Z$200,CE !$P$2:$P$200)/SUMPRODUCT(--(CE!$G$2:$G$200="MMFund")*(CE!$F$2:$F$200<ISNUMBE R(SEARCH("gov",CE!$F$2:$F$200))),CE!$Z$2:$Z$200)

The question is how do I re-write the term
(CE!$F$2:$F$200<ISNUMBER(SEARCH("gov",CE!$F$2:$F$ 200)))
so that the calculation does not include any data that has the word "gov" in
column F

Just for clarity....Column G represents Money Market Funds...Column Z is the
investment amount....and Column P is the interest rate.

Thank you
 
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 excluding multiple criteria Ivano Excel Worksheet Functions 4 May 12th 09 07:27 PM
Sumproduct excluding duplicates with added condition?? Peta Excel Worksheet Functions 7 January 13th 09 01:48 PM
SUMPRODUCT excluding multiple conditions tmwilkin Excel Worksheet Functions 3 May 1st 08 03:47 PM
Sumproduct Excluding Array ~L Excel Worksheet Functions 6 December 20th 06 09:07 PM
Averages excluding certian data bbddvv Excel Discussion (Misc queries) 11 November 11th 05 08:03 PM


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