+ Reply to Thread
Results 1 to 5 of 5

Need additional function within SUMPRODUCT

  1. #1
    Registered User
    Join Date
    05-29-2006
    Posts
    37

    Need additional function within SUMPRODUCT

    Hello all,

    I am familiar with SUMPRODUCT but not sure what other functions I need to use with it to achieve what I am looking for. I'm working with a spreadsheet of data I receive from an outside party.

    I have one worksheet where I maintain defined ranges. In this example I have a list of ~20 FUNDS which make up the range "ASSETMNG1". A sample spreadsheet is attached with the other details. Another worksheet is the DATA I receive with columns (Fund -- Event -- Location -- DTC_INST -- EUR_INST -- FED_INST -- Net Amount). The final worksheet is a list of brokers and their instructions per location (DTC_INST, EURO_INST, FED_INST). Columns (Broker -- DTC -- EURO -- FED -- DELIVERIES -- RECEIPTS).

    =SUMPRODUCT((DATA!$A$2:$A$8=ASSETMNG1)*(DATA!$B$2:$B$8="DELIVER")*(------------------------)*(DATA!$G$2:$G$8))

    The blank area is where I'm trying to fill the void with logic like (sum the transactions on the DATA sheet that match this broker's DTC_INST, EUR_INST, or FED_INST)

    The only other solution I can think of is a LONG formula that sum's 3 individual SUMPRODUCT's?

    Thanks in advance for any assistance and let me know where I may need to clarify.

    Also asked the question at http://www.mrexcel.com/forum/showthr...18#post2454918

    EJ
    Attached Files Attached Files
    Last edited by NBVC; 09-24-2010 at 05:12 PM. Reason: Link to post on MrExcel

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,677

    Re: Need additional function within SUMPRODUCT

    Your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us help you!

    Read this to understand why we ask you to do this

    Please add a link, thanks
    Last edited by daddylonglegs; 09-24-2010 at 03:17 PM.
    Audere est facere

  3. #3
    Registered User
    Join Date
    05-29-2006
    Posts
    37

    Re: Need additional function within SUMPRODUCT

    I have a suggestion of trying to use DSUM to accomplish what I'm looking to do. I read up on it and it doesn't seem to address my issue though I have never used DSUM before. So any additional suggestions is appreciated.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,677

    Re: Need additional function within SUMPRODUCT

    I'm not clear what results you expect. This might do it

    =SUMPRODUCT((DATA!$A$2:$A$100=ASSETMNG1)*(DATA!$B$2:$B$100="DELIVER")*((DATA!$D$2:$D$100=B4)*(B4<>"")+(DATA!$E$2:$E$100=C4)*(C4<>"")+(DATA!$F$2:$F$100=D4)*(D4<>"")>0)*(DATA!$G$2:$G$100))

    Note that I don't see ASSETMNG1 defined in your sheet, which funds should it include? You'll need to define the range before the formula will work

    If that doesn't do it for you then can you detail the results you expect?

  5. #5
    Registered User
    Join Date
    05-29-2006
    Posts
    37

    Re: Need additional function within SUMPRODUCT

    daddylonglegs,

    I was able to make the formula you listed work for me. Thank you very much for your help.

    EJ

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1