+ Reply to Thread
Results 1 to 6 of 6

Help with grouping data

  1. #1
    Registered User
    Join Date
    01-21-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    6

    Help with grouping data

    Hi.

    Sorry I posted a version of this for averaging a while ago but the current problem is causing me a bit of more trouble than usual so any help will be appreciated.

    There are 2 columns. Column 1 has Time (T) and 2 has variable C.

    I have attached a dataset with a manual example. Takes a long time to get to the end manually.

    The macro should first look at column T and find out all C values within 15s T intervals and copy and paste the C values in separate columns for 15s epochs. In the example worksheet, I started at T=0 and looked for all the values of C for T less than 15. These C values have been copied to Column G.

    Next, I looked for all the values of C for T between 15 and 30 and copied the C values to column H.... and so forth...
    Attached Files Attached Files

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

    Re: Help with grouping data

    One way
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-21-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Help with grouping data

    Thanks jindon. This works well for the first three Epochs (0-15, 15-30, 30-45). Is there a way to do this for all 15s epochs all the way to the end of the dataset?

    Appreciate the help.

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

    Re: Help with grouping data

    Ahhh,

    Like this?
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-21-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Help with grouping data

    Excellent. Works perfect. Thanks Jindon.

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

    Re: Help with grouping data

    You are welcome.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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] Grouping Data by Category and SubCategories and Summarizing unique data
    By mgcarino14 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-05-2019, 10:49 AM
  2. Replies: 6
    Last Post: 01-24-2019, 04:19 AM
  3. Replies: 0
    Last Post: 12-10-2015, 08:24 AM
  4. Replies: 4
    Last Post: 07-26-2014, 02:35 AM
  5. Replies: 6
    Last Post: 06-07-2012, 09:32 AM
  6. Want to get a Series with Grouping and Sub-Grouping based on 2 criterias.
    By e4excel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-02-2011, 05:46 AM

Tags for this Thread

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