+ Reply to Thread
Results 1 to 5 of 5

Sumproduct with excel add-in formula

  1. #1
    Registered User
    Join Date
    01-28-2010
    Location
    earth, milky way
    MS-Off Ver
    Excel 2010
    Posts
    47

    Sumproduct with excel add-in formula

    I'm using a proprietary add-in that has its own formulas. The formula is essentially a vlookup to a value in a third party software. I'm trying to modify the formula to return multiple values using a sumproduct, but it is not working - I am only get the value of the first item.

    =SUMPRODUCT(cw_map("BR","OPER1->"&{"113-000","114-000"}&""))

    I'm trying to return the value of 113-000 and 114-000. Am I using the curly brackets with sumproduct correctly?

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Sumproduct with excel add-in formula

    As far as I can tell, your SUMPRODUCT going to try and add "BR133-000" to "OPER1->114-000". You only have one array listed in SUMPRODUCT

    An example of a working sumproduct with {}'s would be

    =SUMPRODUCT({1,4,4},{3,8,2})

    This will multiply 1x3, 4x8, 4x2, and SUM the results to 43 (3 + 32 + 8 = 43)

    What is the syntax of cw_map()?
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  3. #3
    Registered User
    Join Date
    01-28-2010
    Location
    earth, milky way
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Sumproduct with excel add-in formula

    cw_map pulls from an accounting software based on 3 levels of account detail. BR is current year, OPER1 is the account type, and 113-000 is the account - it's just a structure for identifying where/which account balance to pull

    i'm trying to use 1 cw_map formula to pull 2 or more balances.

  4. #4
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Sumproduct with excel add-in formula

    So the goal would be something like
    =SUM(cw_map("BR","OPER1->","113-000"),cw_map("BR","OPER1->","114-000"))

    Are there too many account numbers to be summed together to make that method viable? Why are you looking to use SUMPRODUCT?

  5. #5
    Registered User
    Join Date
    01-28-2010
    Location
    earth, milky way
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Sumproduct with excel add-in formula

    My spreadsheet is setup that column A has a single value associated with multiple accounts. Column B has the lookup/sum formula. Another sheet contains the associated accounts for the values from column A above. Because I use multiple sheets with this A/B setup, I want to avoid any hard-coding. My sum formula currently uses a VLOOKUP with a sumproduct, references columns 2,3,4,etc (where 2,3,4 contain the account numbers).

    If this is hard to visualize, I can try to send you something.

    Thanks for helping out.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Excel formula to sumproduct but with multiple conditions
    By Dani8826 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-07-2014, 04:25 AM
  2. [SOLVED] Why my SUMPRODUCT() formula does not work in Excel 2003?
    By billj in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-09-2013, 07:04 PM
  3. Excel formula query in sumproduct
    By plabh in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-03-2013, 12:03 PM
  4. [SOLVED] Excel SumProduct Formula
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-23-2012, 02:55 PM
  5. Excel: If and sumproduct ? formula
    By jodywn in forum Excel General
    Replies: 4
    Last Post: 03-31-2009, 05:50 AM

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