+ Reply to Thread
Results 1 to 5 of 5

SUMPRODUCT - between two worksheets and two different array sizes

  1. #1
    Registered User
    Join Date
    03-13-2012
    Location
    Burlington Ontario
    MS-Off Ver
    Excel 2010
    Posts
    51

    SUMPRODUCT - between two worksheets and two different array sizes

    Sumproduct not working....don't know why. Does anyone see anything obvious here? I want to check when Z6:Z64 matches A5:601 on another worksheet, and an indexed column (A5:O601) has a check mark in it, and G6:G64 is a number.

    Sumproduct.xlsx
    Last edited by Lacaycer; 10-05-2012 at 09:52 AM.

  2. #2
    Registered User
    Join Date
    03-13-2012
    Location
    Burlington Ontario
    MS-Off Ver
    Excel 2010
    Posts
    51

    Re: SUMPRODUCT - between two worksheets and two different array sizes

    =SUMPRODUCT((Z6:Z64='Training Requirement Helper'!A5:A601)*(INDEX('Training Requirement Helper'!F4:O601,,MATCH(DynamicMatrix!E3,'Training Requirement Helper'!F4:O4))="√")*(ISNUMBER(E6:F64)))

    This is what I have so far. The first portion returns #N/A but I don't understand why... all the values is the Z6:Z64 range exist in the A5:A601 range.

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMPRODUCT - between two worksheets and two different array sizes

    Quote Originally Posted by Lacaycer View Post
    The first portion returns #N/A but I don't understand why...
    Well, specifically because you can't compare a 59 cell range against a 597 cell range. Do you want to check whether Z6:Z64 has a match anywhere in 'Training Requirement Helper'!A5:A601? If so you could use ISNUMBER/MATCH like this

    =ISNUMBER(MATCH(Z6:Z64,'Training Requirement Helper'!A5:A601,0))

    That will give you TRUE/FALSE for each value in Z6:Z64 depending on whether it exists in the other range or not

    .....but that still won't make the formula work, the INDEX part is returning a 598 cell column and the last part (ISNUMBER) is back to 59. THose numbers all have to be the same.....

    I don't understand the logic of the INDEX part, can you explain again in words what you need the formula to do?
    Audere est facere

  4. #4
    Registered User
    Join Date
    03-13-2012
    Location
    Burlington Ontario
    MS-Off Ver
    Excel 2010
    Posts
    51

    Re: SUMPRODUCT - between two worksheets and two different array sizes

    I have a database where documents are listed from A5:A???
    Operator codes are listed from F4:O4
    the grid below contains check marks to signal that that document needs to be trained for the operator code

    On my Dynamic Matrix worksheet, there are two employee codes (E3/F3). Below are the dates that an employee was trained on. I need to know how many of of those dates were for training that was required.... or had a check mark in the index between the document and operator code on the other sheet

  5. #5
    Registered User
    Join Date
    03-13-2012
    Location
    Burlington Ontario
    MS-Off Ver
    Excel 2010
    Posts
    51

    Re: SUMPRODUCT - between two worksheets and two different array sizes

    Maybe sumproduct isn't the way to extract the information I need...but I couldn't figure out how to make a countifs do what I need done either.

+ 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