+ Reply to Thread
Results 1 to 5 of 5

Alternate Formula to find the subtoltal of filtered rows

  1. #1
    Registered User
    Join Date
    03-04-2012
    Location
    Perth, Australia
    MS-Off Ver
    Microsoft 365 MSO 2405
    Posts
    47

    Alternate Formula to find the subtoltal of filtered rows

    Dear Team,

    I am using the following formulas in my file having more than 10,000+ Rows. It is working fine but the performance is little Slow, so I would like to explore with you the better options

    Using the Sum product formula to subtotal the filtered rows

    =SUMPRODUCT(SUBTOTAL(9,OFFSET(V7,ROW(V$7:V$100)-ROW(V7),0)),($B$7:$B$100="C")+0)

    Similar to the above formula with indirect function to get the values by Currency

    =SUMPRODUCT(SUBTOTAL(9,OFFSET(Y7,ROW(Y$7:Y$433)-ROW(Y$7),0))/N(INDIRECT($P$7:$P$433)))

    I appreciate your support to find the alternative formula to improve the performance

    Thanks and Regards
    R. Vadivelan

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,690

    Re: Alternate Formula to find the subtoltal of filtered rows

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,643

    Re: Alternate Formula to find the subtoltal of filtered rows

    I see that you have been asking many questions across various threads, with a common theme of using formulas for your file with 10,000+ records.

    If that's really the case, it's time to consider using VBA for your file.

    A VBA script might handle all your requirements.

    If that sounds good, please upload the file and consolidate all your requests into one.
    Post it in the VBA box.
    Quang PT

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

    Re: Alternate Formula to find the subtoltal of filtered rows

    @Vadivelan

    Please ignore the request above to start a duplicate thread in the VBA section - continue in the three threads you have opened already (but don't open any more on a very similar theme). Thank you.

    @bebo021999

    Please don't suggest this sort of thing in future as it encourages members to break the forum rules. If the OP is interested in your suggestion of VBA, then offer a script here, please. Thank you.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Alternate Formula to find the subtoltal of filtered rows

    You could use the criteria for filtering with SUMIFS.

+ 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. COUNTIFS Formula for Filtered List to Find Unique Values (Ignore Hidden Rows)
    By ExcelMeister10520 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-17-2023, 01:48 AM
  2. [SOLVED] Highlight alternate unique values in a filtered column
    By elbarauljr in forum Excel General
    Replies: 4
    Last Post: 09-15-2020, 07:25 PM
  3. [SOLVED] Shade alternate filtered rows
    By litlebooks in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 04-14-2020, 04:16 AM
  4. Find last row including hidden and filtered rows
    By jpruffle in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 09-04-2019, 12:08 AM
  5. Formula for number sequentially alternate rows
    By saneelnaidoo in forum Excel General
    Replies: 4
    Last Post: 07-18-2018, 04:49 AM
  6. Formula for numbering sequentially alternate rows
    By saneelnaidoo in forum Excel General
    Replies: 1
    Last Post: 07-18-2018, 03:26 AM
  7. Alternate shading based on group in a filtered table
    By racer21 in forum Excel General
    Replies: 5
    Last Post: 01-31-2018, 03:35 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