+ Reply to Thread
Results 1 to 4 of 4

Sumproduct count not working

  1. #1
    Registered User
    Join Date
    03-09-2020
    Location
    Toronto, Canada
    MS-Off Ver
    Office 365
    Posts
    2

    Post Sumproduct count not working

    I want to count the number of cells that aren't blank in a staffing allocation report that I'm trying to create.

    In a different tab I've created an exec summary that sums up based on certain criteria.

    The count formula im using is:

    =SUMPRODUCT(--('Main Report'!$F$7:$GF$7=43890)*(--('Main Report'!$B$7:$B$4754="Worker 1"))*(--('Main Report'!$F$8:$GF$8="FY19")*(--(LEN('Main Report'!$F$7:$GF$4754)>0))))

    The above formula works perfectly flawlessly

    The second formula I'm trying to create needs to be able to count all the non-blank cells based on fiscal, quarter and position. The formula is:

    =SUMPRODUCT((--('Main Report'!$B$7:$B$4754="Worker 1"))*(--('Main Report'!$F$8:$GF$8="FY19")*(--('Main Report'!$F$9:$AF$9="Q4"))*(--(LEN('Main Report'!$F$7:$GF$4754)>0))))

    I can't get the formula to work no matter what variation/ cell range I choose. I keep getting #N/A errors.

    Does anyone have any ideas what I could do to fix this or even if its possible?
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Sumproduct count not working

    Hello kratos1992. Welcome to the forum.

    Try changing this part 'Main Report'!$B$7:$B$153=$B7 to this 'Main Report'!$B$10:$B$153=$B7
    Dave

  3. #3
    Registered User
    Join Date
    03-09-2020
    Location
    Toronto, Canada
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Sumproduct count not working

    Hello, so I figured it out, it was because in my second formula the bolded range was not consistent with the other ranges

    =SUMPRODUCT((--('Main Report'!$B$7:$B$4754="Worker 1"))*(--('Main Report'!$F$8:$GF$8="FY19")*(--('Main Report'!$F$9:$AF$9="Q4"))*(--(LEN('Main Report'!$F$7:$GF$4754)>0))))

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Sumproduct count not working

    Good to hear. Thank you for letting us know.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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 not working
    By almostgenius in forum Excel General
    Replies: 4
    Last Post: 05-29-2018, 01:46 PM
  2. Count SUMPRODUCT Members / Average of SUMPRODUCT
    By Shingaru in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2014, 03:59 PM
  3. [SOLVED] Sumproduct not working
    By Chetansuri in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-03-2014, 01:32 AM
  4. [SOLVED] Sumproduct = not working the way I want : )
    By Runnin L8 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-05-2013, 04:22 PM
  5. Help me! I want to count the working days of worker with count and if array.
    By tuyetngapt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-03-2013, 12:52 AM
  6. Using a SumProduct Count to find a SumProduct Total?
    By XL021710 in forum Excel General
    Replies: 3
    Last Post: 02-18-2010, 08:31 AM
  7. [SOLVED] sumproduct not working
    By BorisS in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-06-2006, 04:30 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