+ Reply to Thread
Results 1 to 4 of 4

sumproduct with multiple arrays

  1. #1
    Registered User
    Join Date
    07-19-2013
    Location
    Oxford
    MS-Off Ver
    Excel 2010
    Posts
    11

    Question sumproduct with multiple arrays

    Hi all,

    I have a sumproduct formula to count how often something turns up in a specific month. That formula works fine. However, I now need to only count certain criteria in another column. My formula is

    =SUMPRODUCT((TEXT('[Trial Database Final.xlsm]S4 Database Linked'!$X$1:$X$5000,"mmm-yy")="Dec-17")+0*('[Trial Database Final.xlsm]S4 Database Linked'!$Y$1:$Y$5000="Randomised"))

    But, it is still counting the ones in column Y which are not 'Randomised'. Any help with this appreciated.

    Thank you in advance.
    Adele

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: sumproduct with multiple arrays

    Please Login or Register  to view this content.
    You were multiplying that clause by 0.
    Please Login or Register  to view this content.
    PS Multiplying 2 boolean clauses yields {1,0}, so no need to add zero anyway.
    Last edited by leelnich; 02-09-2018 at 08:56 AM.
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

  3. #3
    Valued Forum Contributor
    Join Date
    10-15-2007
    Location
    Home
    MS-Off Ver
    Office 2010, W10
    Posts
    373

    Re: sumproduct with multiple arrays

    Hi Adele

    Try deleting the "+0" in your formula.

    Edit: too late

  4. #4
    Registered User
    Join Date
    07-19-2013
    Location
    Oxford
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: sumproduct with multiple arrays

    Oh! Always the simplest thing!! Thanks both so much.

+ 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. Sumproduct with matched column in multiple arrays
    By Kevdog1000 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 09-10-2017, 01:24 PM
  2. [SOLVED] Sumproduct with 2 arrays
    By rpinxt in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-05-2015, 05:12 AM
  3. [SOLVED] need help getting sumproduct to sort multiple arrays
    By mmccra2858 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-22-2015, 09:38 AM
  4. storing multiple value in a single cell (through arrays or without arrays)?
    By mak51061 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-25-2014, 09:27 PM
  5. Declaring multiple multi-dimensional arrays (jagged arrays) - compile error?
    By dfribush in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-20-2013, 05:06 PM
  6. Sumproduct for multiple arrays, ignoring zeros
    By snoproladd in forum Excel General
    Replies: 2
    Last Post: 02-21-2012, 04:46 PM
  7. [SOLVED] Sumproduct arrays
    By L. Howard Kittle in forum Excel General
    Replies: 4
    Last Post: 04-11-2006, 08:20 AM

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