+ Reply to Thread
Results 1 to 3 of 3

correct syntax for adding a set of coordinates to a SUMPRODUCT formula

  1. #1
    Registered User
    Join Date
    05-04-2010
    Location
    Washington, DC
    MS-Off Ver
    Excel 2007, 2010
    Posts
    26

    correct syntax for adding a set of coordinates to a SUMPRODUCT formula

    Hello again,

    The sumproduct formula I am using (thx to NBVC) is adding numbers from a column on one sheet using text and date criteria:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("auto",'register - BoA'!$D$6:$D$90))),--(TEXT('register - BoA'!$C$6:$C$90,"mmmm")="May"),'register - BoA'!$F$6:$F$90)

    I would like to add a sheet to the array but am having difficulty with the syntax. I need help including the sum of coordinates from the new sheet using the same text and date criteria.

    sheet name: 'cash receipts'
    search for: "auto" in c6:c42 and the month of "May" in b6:b42
    sum: figures in d6:d42

    Is an argument separator necessary to add 2 sets of arrays together?

    Thanks very much as always.
    Last edited by lallo.jr; 05-11-2010 at 11:57 PM.

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: correct syntax for adding a set of coordinates to a SUMPRODUCT formula

    lallo.jr,

    Try:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("auto",'register - BoA'!$D$6:$D$90))),--(TEXT('register - BoA'!$C$6:$C$90,"mmmm")="May"),'register - BoA'!$F$6:$F$90)+SUMPRODUCT(--(ISNUMBER(SEARCH("auto",'cash receipts'!$C$6:$C$42))),--(TEXT('cash receipts'!$B$6:$B$42,"mmmm")="May"),'cash receipts'!$D$6:$D$42)
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  3. #3
    Registered User
    Join Date
    05-04-2010
    Location
    Washington, DC
    MS-Off Ver
    Excel 2007, 2010
    Posts
    26

    Re: correct syntax for adding a set of coordinates to a SUMPRODUCT formula

    Stan,

    Worked perfectly. Looks like a simple addition operation does the trick.

    Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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