+ Reply to Thread
Results 1 to 7 of 7

SUMPRODUCT syntax problem

  1. #1
    Registered User
    Join Date
    09-09-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2003
    Posts
    3

    Angry SUMPRODUCT syntax problem

    I'm trying to pull the sum of a certain array that are equal to another array. I've historically used OpenOffice, which I like, but I need my documents to be more portable. So now I've converted to Excel. My document had certain formulas that Excel didn't like. The first of which I'm struggling to convert.

    In OpenOffice the following formula did the job =SUMPRODUCT(H3:H18=$E3:$E18), if 6 items matched in these array, then the cell would simply return a value of 6, this returns the dreaded #VALUE error in excel.

    Any help would be appreciated.
    Last edited by 2Dumb4This; 09-09-2013 at 10:53 PM. Reason: Title fix

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: I'm sure this is easy but..

    In Excel it would be:

    =SUMPRODUCT(--(H3:H18=$E3:$E18))

    On a side note...

    Please change the thread title to something more specific. They don't like ambiguous thread titles here.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    09-09-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Formula Problem

    Changed. Thank you very much. I'll give this a try and let you know the results.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula Problem

    "Formula Problem" is still too ambiguous.

    How about this: SUMPRODUCT syntax problem

  5. #5
    Registered User
    Join Date
    09-09-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2003
    Posts
    3

    Lightbulb Re: SUMPRODUCT syntax problem

    I knew it would be easy. Worked great. Thanks again for your help.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: SUMPRODUCT syntax problem

    You're welcome. Thanks for the feedback!

  7. #7
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: SUMPRODUCT syntax problem

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Easy one
    By newestnewbie in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-28-2006, 06:12 AM
  2. [SOLVED] This should be easy...
    By Jerry in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-06-2005, 12:20 PM
  3. This should be so easy...
    By Crazy in forum Excel General
    Replies: 6
    Last Post: 12-05-2005, 04:12 PM
  4. Probably easy but I need help!
    By djbob2k2 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-18-2005, 08:44 PM
  5. new user with easy question? not easy for me
    By speakeztruth in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 06-03-2005, 05:05 PM

Tags for this Thread

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