+ Reply to Thread
Results 1 to 6 of 6

Update Array Formulas automatically

  1. #1
    Registered User
    Join Date
    05-22-2020
    Location
    Leningrad
    MS-Off Ver
    2007
    Posts
    34

    Update Array Formulas automatically

    Hi All!

    I have a replica sheet here which contains an array formula. In my original sheet it has over 20 array formulas which I have to update constantly with new rows of data.

    The array formula is simply {=trend(data:data)}

    I would be grateful if someone could tell me if it is possible & how to make this type of array formula update automatically when new data is added and to make the calculation automatic - either using an alterative formula or VBA.

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Update Array Formulas automatically

    Please try at D3
    =IF(C3="","",INDEX(TREND(C$3:INDEX(C:C,MATCH(9,C:C))),ROWS(D$3:D3)))
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-22-2020
    Location
    Leningrad
    MS-Off Ver
    2007
    Posts
    34

    Re: Update Array Formulas automatically

    Quote Originally Posted by Bo_Ry View Post
    Please try at D3
    =IF(C3="","",INDEX(TREND(C$3:INDEX(C:C,MATCH(9,C:C))),ROWS(D$3:D3)))
    This is excellent! Thank you so much for your help! I really appreciate it!

    Just one point for my clarification, the sheet is attached; it is returning a #Ref while all other formulas are working - would you be able to assist me on this? Thanks!
    Attached Files Attached Files

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Update Array Formulas automatically

    Change C2 to this

    =IF(B2="","",INDEX(TREND(B$2:INDEX(B:B,MATCH(9^9,B:B))),ROWS(A$2:A2)))

  5. #5
    Registered User
    Join Date
    05-22-2020
    Location
    Leningrad
    MS-Off Ver
    2007
    Posts
    34

    Re: Update Array Formulas automatically

    Quote Originally Posted by Bo_Ry View Post
    Change C2 to this

    =IF(B2="","",INDEX(TREND(B$2:INDEX(B:B,MATCH(9^9,B:B))),ROWS(A$2:A2)))
    Great! Youre a legend! Thank you so much for your help - I am most grateful!

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,624

    Re: Update Array Formulas automatically

    Named DYNAMIC range: PriceByDate
    Refer to:
    Please Login or Register  to view this content.
    formula for clumn C:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Ben Van Johnson

+ 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: 3
    Last Post: 03-22-2020, 11:24 AM
  2. Can I get my array formula to update automatically using a macro?
    By jamiepounder in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-22-2019, 08:22 AM
  3. Automatically formulas update VBA
    By moldo89 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-10-2013, 11:26 AM
  4. Glitch - Cells with formulas won't update automatically
    By Clue_Less in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-15-2012, 04:03 PM
  5. Formulas to automatically update on multiple sheets
    By tone640 in forum Excel General
    Replies: 7
    Last Post: 06-30-2011, 04:44 AM
  6. Update a VBA procedure to accept array formulas
    By Armitage Shanks in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-08-2010, 08:43 AM
  7. [SOLVED] Update custom formulas automatically
    By Re: Inserting an option button in Word in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-12-2005, 01:05 PM

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