+ Reply to Thread
Results 1 to 5 of 5

INDIREKT() and SUMPRODUCT() not working

  1. #1
    Forum Contributor
    Join Date
    08-30-2015
    Location
    Tresfjord, Norway
    MS-Off Ver
    365
    Posts
    180

    INDIREKT() and SUMPRODUCT() not working

    Hi ...

    Can anyone give me an explanation why this formula do not work?
    I can't for my bare eyes see anything wrong with it.
    There seems to be nothing wrong with cell references either.

    =SUMPRODUCT((INDIRECT("'"&E6&"'!"&C25:H45=INDIRECT("'"&E6&"'!"&$C$48))*(COLUMN(INDIRECT("'"&E6&"'!"&C45:H45))-3)))

    In advance thanks ....
    Last edited by Tresfjording; 03-27-2023 at 09:49 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: INDIREKT() and SUMPRODUCT() not working

    Hard to say, without seeing in in context. But, try:

    SUMPRODUCT((INDIRECT("'"&E6&"'!C25:H45")*(INDIRECT("'"&E6&"'!$C$48"))*(COLUMN(INDIRECT("'"&E6&"'!C45:H45"))-3)))

    If not, post a sample sheet....
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,976

    Re: INDIREKT() and SUMPRODUCT() not working

    Try

    =SUMPRODUCT((INDIRECT("'"&E6&"'!C25:H45")=INDIRECT("'"&E6&"'!$C$48"))*(COLUMN(INDIRECT("'"&E6&"'!C45:H45"))-3))
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  4. #4
    Forum Contributor
    Join Date
    08-30-2015
    Location
    Tresfjord, Norway
    MS-Off Ver
    365
    Posts
    180

    Re: INDIREKT() and SUMPRODUCT() not working

    Thank you to you both for putting me on the right path

    I learned something today.

    When referring to a cell which value is fetched through a data validation list, the cell references must be inside it's own set of quotation marks. At least it seems to be so.

    Here is the end result:

    =SUMPRODUCT((INDIRECT("'"&Data!$K$11&"'!"&"C25:H45")*(INDIRECT("'"&Data!$K$11&"'!"&"$C$48"))*(COLUMN(INDIRECT("'"&Data!$K$11&"'!"&"C45:H45"))-3)))


    Case Solved!

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: INDIREKT() and SUMPRODUCT() not working

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) 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. Indirekt Wechseln - dynamisch
    By ppiotr06 in forum Non English Excel
    Replies: 3
    Last Post: 02-08-2022, 01:13 PM
  2. Indirekt Wechseln - dynamisch
    By ppiotr06 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-06-2022, 03:07 AM
  3. SUMPRODUCT isn't working
    By montgai in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-12-2021, 08:16 PM
  4. [SOLVED] SUMPRODUCT not working
    By User3 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-01-2013, 06:31 AM
  5. VLOOKUP with the use of INDIREKT
    By ChrisNor in forum Excel General
    Replies: 2
    Last Post: 07-23-2009, 06:52 AM
  6. [SOLVED] sumproduct not working
    By BorisS in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-06-2006, 04:30 PM
  7. =SUMPRODUCT not working
    By JR in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-08-2006, 01:15 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