+ Reply to Thread
Results 1 to 5 of 5

Data Sorting by Cell Number

  1. #1
    Registered User
    Join Date
    09-06-2007
    Posts
    2

    Data Sorting by Cell Number

    Is there an easy method to have data sorted by cell number? I have raw data being dumped into Excel fwith A1 being a reading at 0.01 second A2 being a reading at 0.02 seconds and so one. I would like reduce the reading frequency to 1 second, 1 minute, 1 hour and so on. Is this possible using cell numbers/addresses?

    Thanks

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481
    Hi there,

    Do you want to DELETE the rows containing the "surplus" readings or just to hide/filter them?

    Regards,

    Greg M

  3. #3
    Registered User
    Join Date
    09-06-2007
    Posts
    2

    No

    I would like to keep the data and generate new colums using a filter to select the data output frequency.

    If that makes any sense?

  4. #4
    Valued Forum Contributor
    Join Date
    08-31-2007
    Location
    SW Ireland
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2311 Build 16.0.17029.20068) 32-bit
    Posts
    523
    Is this what you're looking for:

    In cell B1 (for 1 second data):
    Please Login or Register  to view this content.
    In cell C1 (for 1 minute data):
    Please Login or Register  to view this content.
    In cell D1 (for 1 hour data):
    Please Login or Register  to view this content.
    You can copy these formulae down as far as you need

  5. #5
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481
    Hi all,

    The only problem with a formula-based approach is the amount of data involved. One hour's worth of data corresponds to over one million (360,000 * 3 - second, minute, hour) formulae to calculate and store.

    A VBA-based approach might be neater - e.g. using VBA to generate three additional worksheets (second, minute, hour) & to copy the appropriate data to those worksheets.

    Let me know if this type of approach would suit you and I'll see what I can do.

    Hope this helps - please let me know how you get on.

    Best regards,

    Greg M

+ 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