+ Reply to Thread
Results 1 to 8 of 8

Long term data into single column

  1. #1
    Registered User
    Join Date
    06-24-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    30

    Long term data into single column

    Hi all,

    I have long term flow daily data ( months in rows i.e 12 rows and 31 days in columns) for 50 years. There is empty row after each year data. Is it possible to rearrange data into 2 columns? Ist column will show date from 1/1/1960 to 31/12/2017 whereas 2nd column will show data for each date.

    I am looking to find micro for this work

    Thank you.

    Saleem

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Long term data into single column

    Can you prepare and attach a short EXCEL sample, this will help for debugging
    - Battle without fear gives no glory - Just try

  3. #3
    Registered User
    Join Date
    06-24-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Long term data into single column

    Please find attached sample excel sheet.

    Thank you.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Long term data into single column

    See next code
    Please Login or Register  to view this content.
    Last edited by PCI; 10-07-2018 at 03:52 PM.

  5. #5
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Long term data into single column

    Sorry, there is an issue with date when recording the keys from the dictionnary
    Use next code
    Please Login or Register  to view this content.
    Last edited by PCI; 10-07-2018 at 04:23 PM.

  6. #6
    Registered User
    Join Date
    06-24-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Long term data into single column

    Thank you very much. It worked for my data. Great.

    Could you please guide me for another code that is about to convert daily data ( obtained from above code into two columsn, 1st showing date and 2nd showing data) into 10 daily data for long term series.

    Kind regards,
    Saleem

  7. #7
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Long term data into single column

    10 daily data for long term series.
    Please give an example

  8. #8
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Long term data into single column

    Here a remake of the first macro with the date issue solved in the dictionnary: It should run really faster
    Please Login or Register  to view this content.

+ 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] Confused on which formula to use for long term budgeting
    By hotzpacho in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-15-2015, 06:47 AM
  2. Filling in a long-term table from a single, changing source
    By Drayde in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-24-2014, 12:38 PM
  3. Calculating short term and long term moving average in VBA
    By ixthus in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-10-2013, 02:40 AM
  4. Dealing with a long-term measurement data
    By Excelmania013 in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 08-06-2013, 04:54 AM
  5. Long term lurker!!
    By Craig.Selby in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 07-10-2012, 09:37 PM
  6. Convert rows to one single long column?
    By Spalding in forum Excel General
    Replies: 2
    Last Post: 11-21-2005, 09:39 AM
  7. Performance long/single comparison vs converting single to long
    By George Nicholson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-03-2005, 02:05 PM

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