+ Reply to Thread
Results 1 to 3 of 3

SUMPRODUCT type formula needed

  1. #1
    Forum Contributor
    Join Date
    04-11-2008
    Posts
    156

    SUMPRODUCT type formula needed

    Hi

    This works fine.

    =SUMPRODUCT(--(Sheet1!$A$1:$AP$1=Sheet2!$A3)*(Sheet1!C2:C101=1))

    But when I extend the range in the 2nd condition to the following, it returns an #NA

    =SUMPRODUCT(--(Sheet1!$A$1:$AP$1=Sheet2!$A3)*(Sheet1!C2:AP101=1))

    Is there a formula that can do the latter?

    Thanks

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,614

    Re: SUMPRODUCT type formula needed

    Arrays must be same size...
    you can't have A1:AP1 and C2:AP101

    For further help you may consider of uploading example workbook.

  3. #3
    Forum Contributor
    Join Date
    04-11-2008
    Posts
    156

    Re: SUMPRODUCT type formula needed

    Whoops!!

    Thank you

+ 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