+ Reply to Thread
Results 1 to 4 of 4

Each row has its own header. How do I create a unifying header?

Hybrid View

John Kim Each row has its own header.... 12-21-2014, 05:39 PM
azumi Re: Each row has its own... 12-21-2014, 06:19 PM
John Kim Re: Each row has its own... 12-21-2014, 06:40 PM
jindon Re: Each row has its own... 12-22-2014, 02:29 AM
  1. #1
    Registered User
    Join Date
    12-21-2014
    Location
    NJ, US
    MS-Off Ver
    2007, 2013
    Posts
    2

    Each row has its own header. How do I create a unifying header?

    Dear all,
    Hi, I am downloading mutual fund data from Morningstar Excel API and the structure is 'weird' in the sense that each row of observation has its own header. A sample is,
    2010-09-30 2012-12-31 2013-12-27
    FOUSA0885N 0.09 0.03 0.11
    2009-06-30 2009-12-31 2010-09-30 2010-12-31
    FOUSA0885O 0.01 0.04 0.01 0.02

    The first column is the fund id. The following columns show its dividends whenever data exists. The header is the time at which the dividend applies and is row-specific. Rather than the row-specific dates, I want to make a unifying header. That is, I want something like

    2009-06-30 2009-12-31 2010-09-30 2010-12-31 2012-12-31 2013-12-27
    FOUSA0885N 0.09 0.03 0.11
    FOUSA0885O 0.01 0.04 0.01 0.02

    So essentially, I want a union of each row-specific header and make that a unifying header and then fill in each cell whenever the data point existed for that date. I'd be most thankful for any and all suggestions. Thank you!

    Best,
    John

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Each row has its own header. How do I create a unifying header?

    Hi John

    Lets make it works, but you need to attach your sample workbook, just sample no need for real workbook, but have same situation with the real one. Explain it with your desired results.
    How to attach it? Click "Go Advanced" button and then find paperclip button to attach your file.

    Regards

  3. #3
    Registered User
    Join Date
    12-21-2014
    Location
    NJ, US
    MS-Off Ver
    2007, 2013
    Posts
    2

    Re: Each row has its own header. How do I create a unifying header?

    Dear azumi,
    Thanks for your suggestion. Please find attached, sample.xslx which is what the data currently looks like and wanted.xslx which is what I want the data to look like. Thank you all.

    Best,
    John
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Each row has its own header. How do I create a unifying header?

    VBA solution, if you like.
    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)

Similar Threads

  1. [SOLVED] Find specific value in table and return header row and header column value
    By nelwan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-30-2013, 01:35 AM
  2. Need to copy header row in group to all rows below header; stop if blank and repeate
    By jmcaleer10 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-18-2013, 11:09 AM
  3. Using EXCEL VBA to create word ,insert header in word, add textbox in header and fill pic
    By xiaorenwuhyl in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-28-2013, 05:32 AM
  4. Replies: 2
    Last Post: 10-13-2012, 03:30 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