+ Reply to Thread
Results 1 to 3 of 3

Comparing data with different recording frequencies/times

  1. #1
    Registered User
    Join Date
    03-04-2020
    Location
    Edinburgh, scotland
    MS-Off Ver
    2016
    Posts
    2

    Comparing data with different recording frequencies/times

    I have been through a number of posts and still can't crack this one. Hopefully someone will find this an easy question.

    I am trying to compare two power measuring devices. Annoyingly, both devices record at slightly different intervals. One at 0.55 sec intervals the other at 0.50

    I'm thinking the best thing to do is to create two sets of data averaged by the second.

    I found an old thread that seemed to be trying to do the same thing averaging data over 30s.

    DonkeyOte suggested an =1+Countif function, but I can't get it to work (I think that there have been a number of changes to the countif function since then).

    Any help with the attached would be gratefully recieved.
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,642

    Re: Comparing data with different recording frequencies/times

    I think the best idea would be to approximate changes between points by some function. The second easiest (and probably in most cases good enough) will be just linear approximation.
    I am skipping the easiest, but much less precise possibility - just using Vlookup and finding Watts at given time or if no value at this exact time, the last value measured before that time.

    So I'd prepare common moments in time in one column (say G) spaced every half second.
    Then in H2 (and copy all the way down):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    as a helper value for next calculations. I am using helper column, to keep formulas shorter, but of course this hepler column formula could be nested into main formula.
    in I2 (and down) the main formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and similar formulas in J and K columns for the second set of measurements (see attachment).
    And then you have reasonable estimates of both wattages in the same moment.
    Of course, instead of preparing column with common time one could use one time axis as a reference, and calculate second wattages at the same time as were measured first.

    See attached file with the graph of differences Watts1-Watts2 every half second.
    The second graph is just to show how the approximation works (in a short timeslot 00:04-00:10)
    Attached Files Attached Files
    Last edited by Kaper; 04-18-2020 at 10:53 AM. Reason: added file :-)
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    03-04-2020
    Location
    Edinburgh, scotland
    MS-Off Ver
    2016
    Posts
    2

    Re: Comparing data with different recording frequencies/times

    Brilliant. Thanks for the quick response.

    I'll work those formulas into my data and see whether I can make it work.

+ 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. Recording lap times by entering contestant number
    By groznij in forum Excel General
    Replies: 27
    Last Post: 09-11-2023, 04:47 AM
  2. Graphing same data with different frequencies on same graph
    By rar145 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 11-10-2015, 01:45 PM
  3. Charting two times series with different data frequencies
    By mikaeln in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-27-2015, 06:33 AM
  4. Recording and Monitering Times
    By rossb1992 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-02-2015, 08:54 AM
  5. [SOLVED] How to revised macro code to repeat the recorded task without recording several times?
    By reimar_rem in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-07-2013, 01:34 AM
  6. Comparing Times in Text Boxes to Times in Cells
    By Matt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-05-2006, 11:15 PM
  7. [SOLVED] graphing data of different frequencies
    By Bob in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 06-12-2006, 03:25 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