Share via

Converting a SUMIFS to an ARRAY

Anonymous
2023-08-16T21:16:40+00:00

I have two separate SUMIFS, using a couple of criteria, that I would like to convert to an ARRAY, but I don't know how to proceed. I have a 4-column list that captures the Transactions, Date, Status (o, x, xp) and Amount. Next, I have two summary lists where one counts how many x's and xp's there are in the transaction list for a specific date, and the second sums up the dollar amounts for a specific date from the transaction list. Both summary lists are using the SUMIFS function. In using the SUMIFS function, I found it was slowing down the performance for one of my macros because the SUMIFS function was going line by line. I saw if I used an ARRAY, it should perform faster since it only has to perform the function once.

I have a working SUMIFS sample worksheet that I can share that includes the Transaction List, and the two Summary Lists showing the SUMIFS formula that I am using to capture the data. I just need help with the correct format for the ARRAY. Thanks!

Rs987

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Anonymous
    2023-08-19T00:46:42+00:00

    http://e.anyoupin.cn/EData/970.html

    Alternatively,

    sql and dynamic html

    https://b23.tv/Rj5cRlt

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-08-18T04:31:52+00:00

    Thank you, Herbert Seidenberg, I will definitely give it a try, and work on it tomorrow. This look very elegant and flexible.

    I truly appreciate you taking the time to put this together. Thank you so much!

    Rs987

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-08-16T23:59:35+00:00

    Thank you peiyezhu for your comment, it is appreciated.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2023-08-16T22:03:25+00:00

    I found it was slowing down the performance for one of my macros because the SUMIFS function was going line by line

    As far as I know,Array formula will not be faster than SUMIFS.

    If too many records,I guess you 'd better move to dadabase with sql.

    Was this answer helpful?

    0 comments No comments