+ Reply to Thread
Results 1 to 6 of 6

Simple Time Series Update

  1. #1
    Registered User
    Join Date
    12-09-2013
    Location
    nyc
    MS-Off Ver
    Excel 2003
    Posts
    3

    Simple Time Series Update

    I am trying to create some vba code to update a time series down a column, and linking to the same absolute cell every time for the data that corresponds with the time series. Eg, I would update the sheet occasionally, with dates in column A, and column B would have the value currently calculated in some other cell (E1). So when I go to update this for today, the code would go down column A and find the next blank row...insert a formula for today's date +today(), tab over to column B, and then link to the static cell I choose (E1). Finally, I'd like to paste value the two cells I just modified so that next time I open the doc the data reflects the old date from the +today() formula, and the old value contained in E1. Can somebody help me write this code? I just cant figure it out. thanks

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Simple Time Series Update

    could you send a sample....

  3. #3
    Registered User
    Join Date
    12-09-2013
    Location
    nyc
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Simple Time Series Update

    Here's an example of what it would look like - dates going down column A and values going down column B. The values would be coming from one cell in the worksheet. Effectively, I'd like to run a macro that would modify both columns on the bottom row. So what it would do is go to the next empty row in column A (the cell below 11/18/13) and insert today's date [+today()], then tab over to the values column and link to the predefined cell in my spreadsheet that has the value I want to collect. Finally, I'd like to paste value these two cells so that when I open it again it has the old values listed in these columns. Does that make sense? Thanks
    Column A...........Column B
    Date.................Values
    11/1/13.............100
    11/5/13.............115
    11/18/13............95

  4. #4
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Simple Time Series Update

    Please Login or Register  to view this content.
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

  5. #5
    Registered User
    Join Date
    12-09-2013
    Location
    nyc
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Simple Time Series Update

    Thank you so much!!! Knew it'd be simple but I had no idea.

  6. #6
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Simple Time Series Update

    Glad I could help. And welcome to the forum!

    If you are happy with the solution please mark the thread as [SOLVED] using the thread tools at the top.

    And on any thread you can show appreciation to those who have helped you by clicking the * below their post.

+ 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. simple series interpolation
    By mfaerber1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-15-2010, 05:56 PM
  2. Collating different series to one time series
    By envex in forum Excel General
    Replies: 4
    Last Post: 10-25-2010, 04:49 AM
  3. Simple list with series of numbers
    By drummonds in forum Excel General
    Replies: 2
    Last Post: 05-09-2007, 12:54 PM
  4. [SOLVED] Stop Excel's UPDATE\Don't UPDATE message box from appearing every time I open the work book
    By divya in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2006, 03:25 AM
  5. [SOLVED] Simple AutoFill Series Question
    By Abode in forum Excel General
    Replies: 1
    Last Post: 03-23-2006, 03:35 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