Results 1 to 4 of 4

I give up...S & P 500 formatting issue....

Threaded View

  1. #1
    Registered User
    Join Date
    06-26-2010
    Location
    SF, CA
    MS-Off Ver
    Excel 2003
    Posts
    4

    I give up...S & P 500 formatting issue....

    I give up.

    If anyone can solve this for me than you are officially my hero.

    I've attached a small piece of the spreadsheet I need formatted. The sheet contains all of the stock data for the SP 500 over the last year. I only left the stocks with tickers starting with "A" to make the spreadsheet (column B) a little more manageable but needless to say, it's BIG.

    Here's what I need to do: I need a macro that will put the each stock in it's own worksheet, with the title of that worksheet being the stock ticker. That's 500 worksheets total (although in the attached file there's probably only a couple dozen.) Each time I pull the data the number of days each stock reports is different so that may add a kink to things.

    For instance, I tried a macro that would cut the first 260 or so columns and then paste them into a new worksheet, delete the remaining empty rows on worksheet one, then rinse and repeat. Problem is different stocks have different numbers of days that get pulled (don't ask why).

    So if ANYONE can solve this I would be greatly appreciative. See the attached file for reference.

    D
    Attached Files Attached Files

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