+ Reply to Thread
Results 1 to 3 of 3

Dynamic Drag-Down of Formula Based On Other Cells

  1. #1
    Registered User
    Join Date
    11-14-2022
    Location
    England
    MS-Off Ver
    MS365 (PC) Version 2502
    Posts
    62

    Question Dynamic Drag-Down of Formula Based On Other Cells

    Hi all,
    I've had a similar issue in the past and this amazing forum helped me out no end, so hopefully you can resolve this new issue as well?

    Basically I would like a simple if formula to work across all of my data dynamically rather than being dragged down because at present I have this formula in cell C2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Then I drag that formula down 100 rows, however I will eventually have more than 100 rows and I can't just keep pulling it down. (Similarly I can't drag it down 10,000 rows now as I will eventually surpass 10,000 rows and as I'm heading there my workbook will be so slow!)

    Ideally I'd love a simple method or formula that I can adapt in future which basically drags down a formula x times based on other conditions.
    I have thought about tables and dynamic ranges but can't find a way to successfully adapt them into my formula. I've attached a sample workbook showing what I would like to achieve if possible, albeit this attachment is on a much smaller scale.

    Let me know if you need any other information or if I need further explain anything. Thank you in advance.
    EricDonk
    Attached Files Attached Files
    Last edited by EricDonk; 05-01-2024 at 08:32 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: Dynamic Drag-Down of Formula Based On Other Cells

    Delete ALL expected results. Use:

    =BYROW(A2:A10000&B2:B10000,LAMBDA(z,IF(z<>"","Stats Changed","")))

    no copy - paste needed.
    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
    Registered User
    Join Date
    11-14-2022
    Location
    England
    MS-Off Ver
    MS365 (PC) Version 2502
    Posts
    62

    Re: Dynamic Drag-Down of Formula Based On Other Cells

    Thank you Glenn, not only did you answer in record time but the solution you gave is fantastic and works like a dream. I will need to look into BYROW more now because it seems very powerful.

    Cheers again, Rep added.
    EricDonk

+ 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. Replies: 5
    Last Post: 09-07-2018, 05:16 PM
  2. drag down formula, when using collapsable cells
    By pdmm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-20-2016, 10:27 AM
  3. Change order of static cells based on dynamic formula based cells
    By S_O_A_L in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-03-2016, 04:33 AM
  4. Drag formula based on cell value
    By lamdl in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-25-2014, 05:12 PM
  5. How to drag down formula but skip 2 cells
    By Coordinaters in forum Excel General
    Replies: 3
    Last Post: 06-25-2014, 12:39 AM
  6. [SOLVED] Dynamic offset as you drag formula down/across
    By brad999 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-04-2013, 01:37 PM
  7. Cannot drag content or formula to another cells
    By Brian in forum Excel General
    Replies: 2
    Last Post: 02-14-2005, 08:06 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