+ Reply to Thread
Results 1 to 7 of 7

SUMPRODUCT with dynamic arrays issue with title replacement

  1. #1
    Registered User
    Join Date
    12-01-2020
    Location
    singapore
    MS-Off Ver
    MS2016
    Posts
    35

    SUMPRODUCT with dynamic arrays issue with title replacement

    This problem is very similar to the problem I encountered at work

    If this row changes the title, POST#13 Bo_Ry and POST#14 Glenn Kennedy how can I modify the formula to execute smoothly at Row 16 ?



    Refer to this for a discussion of connection link
    https://www.excelforum.com/excel-for...ic-arrays.html
    Attached Files Attached Files
    Last edited by sgstevenlow; 07-06-2023 at 07:51 AM.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: SUMPRODUCT with dynamic arrays issue with title replacement

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-01-2020
    Location
    singapore
    MS-Off Ver
    MS2016
    Posts
    35

    Re: SUMPRODUCT with dynamic arrays issue with title replacement

    WOW Fluff13, you are amazing, that's what it is, thanks for your quick reply

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,933

    Re: SUMPRODUCT with dynamic arrays issue with title replacement

    See if this works for you (generates a table with sorted names and subjects):

    =LET(r,SORT(UNIQUE(B4:B13),,1),c,SORT(C3#,,1),HSTACK(VSTACK(B3,r),VSTACK(c,MAKEARRAY(COUNTA(r),COUNTA(c),LAMBDA(name,subject,SUMPRODUCT(J4#*(I4#=INDEX(r,name))*(C4#*(B4#=INDEX(r,name))*(C3#=INDEX(c,1,subject)))))))))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    12-01-2020
    Location
    singapore
    MS-Off Ver
    MS2016
    Posts
    35

    Re: SUMPRODUCT with dynamic arrays issue with title replacement

    WOW AliGW, you are amazing, that's what it is, thank you for your quick reply

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,933

    Re: SUMPRODUCT with dynamic arrays issue with title replacement

    You're welcome.

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: SUMPRODUCT with dynamic arrays issue with title replacement

    Glad to help & thanks for the feedback.

+ 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] SUMPRODUCT with dynamic arrays
    By Joel Chacko in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 07-06-2023, 07:31 AM
  2. Is there a new replacement function for SUMPRODUCT?
    By Bob_Collins in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-24-2022, 11:00 AM
  3. [SOLVED] Dynamic array replacement
    By pmw19800 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-06-2021, 01:38 PM
  4. [SOLVED] Formula for dynamic data entry (not really sure how to title my issue)
    By howe7032 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-13-2016, 11:19 AM
  5. [SOLVED] Replacement occurences in arrays instead of depending on sheet
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 11-13-2015, 07:51 PM
  6. Chart Title from Dynamic Range Issue
    By a2excel in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 07-10-2012, 03:41 AM
  7. Replacement of dynamic characters (urgent)
    By Akiza in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-07-2009, 05:46 AM

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