+ Reply to Thread
Results 1 to 6 of 6

Problem with " in sumproduct

  1. #1
    Forum Contributor
    Join Date
    06-19-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Office365
    Posts
    273

    Problem with " in sumproduct

    Hello,

    I have a formula as it is, without using reference to a cell :

    =SUMPRODUCT((RevenueData)*ISNUMBER(MATCH(RevenueItems,{"Admin and Meter Fees (Existing & Rental Retrofit)","Admin and Meter Fees (New Condo)","Admin Fees Students","Account Setup Fees","Disconnect/Reconnect Fees","My new line","Your New Line"},))*(Years=G$2))

    I wish to have the array constants in a cell as these will be returned by a userform, if I put this string in cell F14
    {"Admin and Meter Fees (Existing & Rental Retrofit)","Admin and Meter Fees (New Condo)","Admin Fees Students","Account Setup Fees","Disconnect/Reconnect Fees","My new line","Your New Line"}

    and change the formula to
    =SUMPRODUCT((RevenueData)*ISNUMBER(MATCH(RevenueItems,F14,))*(Years=H$2))

    it didn't work and by pressing F9, I got the attached evaluation, I tried to use indirect but the result is the same.

    can someone please make this work?

    thanks!
    Attached Images Attached Images

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Problem with " in sumproduct

    Looks like you have an extra comma after the closing curly bracket.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    06-19-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Office365
    Posts
    273

    Re: Problem with " in sumproduct

    OMG I didn't notice it!! thank you so much for your help!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Problem with " in sumproduct

    You're welcome. Thanks for the rep.

    Easily missed. Hope that resolves your issue.

  5. #5
    Forum Contributor
    Join Date
    06-19-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Office365
    Posts
    273

    Re: Problem with " in sumproduct

    yes it did, now it finally works! thanks a ton!

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Problem with " in sumproduct

    No problem.

+ 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. help with =SUMPRODUCT(COUNTIF(INDIRECT("'"&A25:A31&"'!L7:L30"),"<60")
    By pandakor in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-06-2020, 09:10 AM
  2. [SOLVED] 2 axis scale using INDEX, SUMPRODUCT, and "greater than" and "less than" functions
    By Clooney003 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-20-2017, 01:12 PM
  3. [SOLVED] Does a "averageproduct" exist that would work as a "sumproduct"?
    By RunwayRiga in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-10-2016, 07:31 AM
  4. Replies: 35
    Last Post: 01-13-2016, 02:16 AM
  5. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  6. SUMPRODUCT(--ISNUMBER(FIND("AM",C5:160))*(k5:k160="")
    By redneck joe in forum Excel General
    Replies: 5
    Last Post: 08-18-2006, 03:31 PM
  7. problem using "<=" with SUMPRODUCT - PLEASE HELP
    By nmc1104 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-04-2005, 10:30 PM

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