+ Reply to Thread
Results 1 to 5 of 5

VBA Evaluate Array then imput into range adjusting forumla in Array down with the Range

  1. #1
    Forum Contributor
    Join Date
    07-31-2009
    Location
    Lincoln, USA
    MS-Off Ver
    Excel 2007 and excel 2010
    Posts
    142

    VBA Evaluate Array then imput into range adjusting forumla in Array down with the Range

    Hello and thank you in advance,

    What I'm trying to do is have VBA calculate an Array Formula and then input into a range which is pretty straight forward. The issue is the Array formula doesn't adjust down the range.

    for the example sheet I've attached here is the code that'll input the information I currently have.

    Please Login or Register  to view this content.
    Issue is it inputs A2 as the reference cell in the full range.

    for the attached what I want is for A2 to move to A3 for the next cell then A4 for the 3rd cell and so forth.

    Was thinking a loop tell blank but the issue is the actual sheet will have a 200k lines so I might run into performance issues if I loop.

    any help is appreciated.
    Last edited by fireguy7; 02-11-2019 at 02:41 PM.

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: VBA Evaluate Array then imput into range adjusting forumla in Array down with the Rang

    Hi fireguy,

    Give this a shot?

    Please Login or Register  to view this content.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Forum Contributor
    Join Date
    07-31-2009
    Location
    Lincoln, USA
    MS-Off Ver
    Excel 2007 and excel 2010
    Posts
    142

    Re: VBA Evaluate Array then imput into range adjusting forumla in Array down with the Rang

    that worked!!

    the only thing that I could see as an issue is it's using cell to do the evaluation so when I drop the Array down over 200k lines it might killthe sheet. I'm going to try it on the large one then close or respond after.

    I see what you did as well so I'll know in the future.

    thanks ton!

  4. #4
    Forum Contributor
    Join Date
    07-31-2009
    Location
    Lincoln, USA
    MS-Off Ver
    Excel 2007 and excel 2010
    Posts
    142

    Re: VBA Evaluate Array then imput into range adjusting forumla in Array down with the Rang

    Worked with minimal performance lag. Only took about 20 seconds to run the array over 200k lines!!

    Your the best.

  5. #5
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: VBA Evaluate Array then imput into range adjusting forumla in Array down with the Rang

    Thanks for the detailed feedback, the rep, and marking the thread as solved!

    Glad I could help

+ 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. Evaluate named range to an array
    By kcaisaacs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-28-2017, 02:23 PM
  2. Multiple Non-Consecutive Cell Range in an Array Forumla
    By PJC83 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-23-2015, 09:02 AM
  3. [SOLVED] Populate one array from another array and print new array as a range
    By Kaden265 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-07-2014, 07:52 AM
  4. [SOLVED] Evaluate Named Range Array formula to VBA Array
    By cmore in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-07-2014, 09:06 PM
  5. Adding a date range to an already complex index array forumla
    By jackifizzle in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-05-2013, 11:50 AM
  6. [SOLVED] Formula Array not adjusting to range
    By LightHeart7 in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 11-22-2013, 01:56 PM
  7. [SOLVED] Add Range to Array find Array value and Paste back to Range
    By Foreverlearning in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-28-2012, 05:45 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