Results 1 to 2 of 2

Macro to calculate correlation from a table but starts from most recent date

Threaded View

  1. #1
    Forum Contributor
    Join Date
    01-11-2016
    Location
    Brazil
    MS-Off Ver
    2010
    Posts
    125

    Macro to calculate correlation from a table but starts from most recent date

    Hello pros,

    I need a macro that calculates the correlation of my shares of all the columns (except date). However, i want to start calculating the correlation of these shares from the most recent date. For example, I have 5 columns, with 5 different investments. These investments start at different dates, so the shares start at different dates. I want to start calculating the correlation from the most recent share start until the last date (today).

    I have a workbook that will make it much clearer to understand..

    In this workbook, the oldest share starts 29/12/2003. What i want to do is to start calculating the correlation of all shares (all columns) from the most recent date, which is 22/03/2010.

    Please Help! Thanks!
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Trying to calculate most recent occurrence of a particular value
    By MarcD2k15 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-17-2015, 08:24 AM
  2. [SOLVED] Macro not pulling down most recent date
    By cartica in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-25-2014, 12:29 PM
  3. [SOLVED] Correlation table
    By dow400 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2013, 11:40 AM
  4. [SOLVED] Open an xlsx with most recent date in filename, run my data pulling macro, then move file
    By alanwu07 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-31-2013, 05:24 AM
  5. [SOLVED] Autofilter - Macro to Return Value in Userform Field based upon Most Recent Date
    By Southfish in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-01-2012, 12:57 AM
  6. Replies: 0
    Last Post: 10-23-2012, 11:44 AM
  7. Macro to take most recent date in long list?
    By Jennifer in forum Excel General
    Replies: 3
    Last Post: 08-01-2006, 11:45 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