+ Reply to Thread
Results 1 to 4 of 4

SumProduct formula only working on 1 of 3 sheets

  1. #1
    Registered User
    Join Date
    09-24-2016
    Location
    los angeles
    MS-Off Ver
    excel 2013
    Posts
    2

    SumProduct formula only working on 1 of 3 sheets

    I have a excel doc that is driving me crazy and I need some help. The attached doc has 4 sheets on it. The first three hold data and the fourth is a viewer for it. I created a formula that searches for a name in the data tabs and carries the data over to the stats viewer. there is a drop menu at the top of the stats sheet that lets you choose which sheet's data you are viewing. The problem is that the formula works fine when you choose the third sheet, but when I choose another sheet I get errors. I'll attach the doc here. Any help would be great!
    Attached Files Attached Files
    Last edited by dmkjcl; 09-24-2016 at 04:30 AM.

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: SumProduct formula only working on 1 of 3 sheets

    Try

    E48=SUMIFS(INDIRECT("'"&$E$45&"'!I:I"),INDIRECT("'"&$E$45&"'!B:B"),$D48)
    F48=SUMIFS(INDIRECT("'"&$E$45&"'!I:I"),INDIRECT("'"&$E$45&"'!B:B"),$G48)

    And drag both down!!!

    Please note that in Sumproduct function we must give range correctly. As per your sheets the ranges are not aligned correctly in each sheet, it will be better if you will use SUMIFS function which can easily handle large ranges.

    Hope this will help you
    Last edited by shukla.ankur281190; 09-24-2016 at 03:19 AM. Reason: Missing Info
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Registered User
    Join Date
    09-24-2016
    Location
    los angeles
    MS-Off Ver
    excel 2013
    Posts
    2

    Re: SumProduct formula only working on 1 of 3 sheets

    Wow thanks so much! Works great! Thanks

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: SumProduct formula only working on 1 of 3 sheets

    Thanks for feedback and Reputation !!!

+ 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. [SOLVED] Index/Sumproduct Formula not working
    By melnemac32 in forum Excel General
    Replies: 5
    Last Post: 06-09-2016, 05:06 PM
  2. SumProduct Formula not working
    By Steve2107 in forum Excel General
    Replies: 2
    Last Post: 02-05-2016, 05:28 AM
  3. [SOLVED] sumproduct formula not working
    By bzl in forum Excel General
    Replies: 4
    Last Post: 08-23-2014, 10:38 PM
  4. Sumproduct formula not working
    By cartica in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-20-2013, 11:19 AM
  5. SUMPRODUCT formula not working
    By KINNEY0201 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 09-28-2010, 12:26 PM
  6. SUMPRODUCT across multiple sheets not working
    By mealstrom in forum Excel General
    Replies: 11
    Last Post: 06-18-2010, 04:13 PM
  7. SumProduct Formula not working
    By jfwidt in forum Excel General
    Replies: 6
    Last Post: 02-03-2010, 05:18 PM

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