+ Reply to Thread
Results 1 to 2 of 2

macro for monthly rolling data

  1. #1
    Registered User
    Join Date
    05-23-2007
    Location
    San Diego, CA
    Posts
    59

    macro for monthly rolling data

    Each month I combine data from two reports into one summary spreadsheet that then calculates the variances between budget to actual. Copying and pasting is driving me nuts, but I can't figure out how to create a macro that will allow me to change the column each month for the new summary report.

    For example, in January I need to pull all data from both spreadsheets in column B into my summary worksheet. But then in February, I need all data to pull from column C...etc.

    I know you gurus can point me in the right direction! You always do!!

  2. #2
    Forum Contributor
    Join Date
    08-11-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    149

    Re: macro for monthly rolling data

    Since you mention cut&paste, are your rows identical in each spreadsheet? And do the reports have the months in columns side-by-side (like columns B thru M)? You might try the CHOOSE function like in this example spreadsheet.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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