+ Reply to Thread
Results 1 to 7 of 7

Indirect Formula Bogs Down Spreadsheet - Alternatives?

  1. #1
    Registered User
    Join Date
    10-31-2014
    Location
    Canada
    MS-Off Ver
    365
    Posts
    2

    Indirect Formula Bogs Down Spreadsheet - Alternatives?

    I Have a spreadsheet that tracks sessions per month. Each month occupies 9 columns then the next month starts. I want to count all the F2F (named cell) in one month. I set up two cells that determines the start and end column when a month is selected from a dropdown.

    I was able to use the indirect formula to count the number of times F2F was entered for each row however once I get to hundreds of rows, it gets bogged down in calculating. Through research I understand that it might be the INDIRECT function that is resource heavy and is likely causing the long calculating.

    Is there an alternative formula that would achieve the same value?

    i.e. If I choose September then the cells have the value of:

    Cell C1 =SUBSTITUTE(ADDRESS(1,VLOOKUP(G2,Constants!B:C,2,FALSE),4),"1","") = CO
    Cell D1 =SUBSTITUTE(ADDRESS(1,VLOOKUP(G2,Constants!B:C,2,FALSE)+8,4),"1","") = CW

    Cell B6 =COUNTIF(INDIRECT(($C$1&ROW()&":"&$D$1&ROW())),F2F) ' thus COUNTIF(CO6:CW6,F2F)

    Is there a less intensive formula? I tried to look at index and match but I am not sure I understand it well enough. It is the yellow cells in the attachment.

    Thank you for any help!
    Last edited by vixeybear; 10-06-2023 at 11:16 PM. Reason: Added Attachment

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    3,241

    Re: Indirect Formula Bogs Down Spreadsheet - Alternatives?

    Please read the yellow banner at the top of the page, and attach a good sample workbook.

  3. #3
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,886

    Re: Indirect Formula Bogs Down Spreadsheet - Alternatives?

    Is there a special reason that you need to divide a month in three parts?
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  4. #4
    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: Indirect Formula Bogs Down Spreadsheet - Alternatives?

    Change B5:D5 as shown and use, in B6, copied across and dnown:

    =SUMPRODUCT(--(INDEX($U6:$DX6,,MATCH($G$2,$U$4:$DX$4,0)+SEQUENCE(,9,0))=B$5))
    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

  5. #5
    Registered User
    Join Date
    10-31-2014
    Location
    Canada
    MS-Off Ver
    365
    Posts
    2

    Re: Indirect Formula Bogs Down Spreadsheet - Alternatives?

    It is basically a tracker of coaching sessions so there can be up to 3 coaching sessions per month. and they want the type of session counted separately.

  6. #6
    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: Indirect Formula Bogs Down Spreadsheet - Alternatives?

    Any comments on Post 4???

  7. #7
    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: Indirect Formula Bogs Down Spreadsheet - Alternatives?

    in B6

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If that takes care of your original question, please select Thread Tools from the menu link above 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. [SOLVED] Macro runs quick initially then bogs down after a few runs
    By pongmeister in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-19-2017, 02:02 PM
  2. Replies: 5
    Last Post: 09-19-2017, 01:57 PM
  3. Compatibility with Excel 97-2003 - alternatives to current formula?
    By peatear in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-29-2015, 12:23 PM
  4. [SOLVED] Indirect match index formula question involving different spreadsheet name
    By lilsnoop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-02-2015, 10:19 PM
  5. Replies: 8
    Last Post: 11-08-2013, 09:37 PM
  6. Replies: 4
    Last Post: 12-12-2009, 07:21 AM

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