+ Reply to Thread
Results 1 to 4 of 4

Need to hold and anlyse data in "virtual" array

  1. #1
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Need to hold and anlyse data in "virtual" array

    Never come across this before and no idea if anyone has done this?

    End User wants Macro to download the date and a price from the net at each "month end", do some financial calculations on the cumulative data, and generate a graph from the results that can span a month to a year.

    Which is straightforward.

    The challenge is they do not want the data on a spreadsheet. They want to download the dates and prices into a "virtual" array on the PC, which the Code can interrogate and produce the graph.

    All suggestions or solutions welcomed gratefully.

    Ochimus

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Need to hold and anlyse data in "virtual" array

    You can put a set of data directly in the Series function for a graph, e.g.,

    =SERIES(,{74,34,62,82,44,72,71,46,25,22,34,70,16,56,97,70,3,21,70,41,51,23,38,36,21,72,57,69,64,34,53,25,84,66,93,77,11,39,82,6,83,82,20,55,67,7,64,25,33,20,12,17,12,31,87,13,22,97,63,56,56,97,55,52,21,30,63,73,45}, {30,39,25,76,58,7,16,95,79,22,32,96,26,96,64,24,84,92,38,68,58,57,95,59,26,5,88,28,74,35,98,49,57,93,30,35,13,25,19,37,24,52,8,77,7,86,30,23,20,8,90,12,77,67,82,83,74,97,28,62,18,67,34,67,82,83,7,8,66},1)

    I don't know what the limitation is for size.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Need to hold and anlyse data in "virtual" array

    Use VA as a Variant and assign it to your null worksheet range:

    Dim VA:VA=Range("A1:Z94557")

    Then instead of a designation like Cells(958,23) you can write VA(958,23)
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  4. #4
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: Need to hold and anlyse data in "virtual" array

    Just returned home to find your two responses.

    Many thanks for finding the time to offer the suggestions. I am still trying to work through this, and suspect I will be back asking for more clarification and support.

    Ochimjus

+ 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: 4
    Last Post: 11-17-2013, 12:05 PM
  2. Replies: 2
    Last Post: 06-06-2013, 12:45 PM
  3. [SOLVED] Data validation: allow entry into a cell if other three cells have "X", "Y" and "Z"?
    By RogerRangeRover in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-05-2013, 04:49 AM
  4. "Virtual Array" in a Formula
    By ElmerS in forum Excel General
    Replies: 9
    Last Post: 04-06-2010, 08:12 AM
  5. [SOLVED] If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ...
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2006, 08:25 AM

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