+ Reply to Thread
Results 1 to 2 of 2

Data Averaging every 30 seconds for uneven time intervals

  1. #1
    Registered User
    Join Date
    08-28-2013
    Location
    Beijing
    MS-Off Ver
    Excel 2007
    Posts
    1

    Data Averaging every 30 seconds for uneven time intervals

    To all the excel wizards out there,
    I need some help averaging heart rate data every thirty seconds. I believe there was an earlier thread regarding a similar issue but the solution does not seem to work for my data.
    Basically the data that I have is data taken from a device that measures heart rate for every beat (Ideally, assuming the device is correctly installed on the patient). Now I want to find the average heart rate for every thirty seconds that have passed during a monitoring period.
    I have attached my excel file to give you all a better understand of the numbers I have to play with. The time elapsed column is when a heart beat was detected and the time (in seconds) it was recorded, which starts from when the device was turned on (for example if a heart rate was detected at 882 seconds after the device was turned on, then that one heart beat would be recorded as taking place at 882 seconds). Even though the device was left on for half an hour there was only a 4 minute window of actual testing this is why the first number in the coulmn is 875.202 (seconds). I have only provided a one minute sample of the data that was actually pulled from the device.
    The second coulmn is the acutal time (during the day) that the heart beat was detected. The third coulmn is the value of the heart beat.

    As I stated before I wish to average the data for every thirty seconds that passed during the monitoring period (in some of the data there may be a 3-5 second gap in heart beat detection, this is due to the device not being properly placed). This may seem like a simple solution; simply count for every 30 seconds and average the data in between. Problem is their are 4 test subjects in total and each patient has 6 monitoring periods, all 4-5 minutes in length. I would be sitting at my desk for awhile.
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Data Averaging every 30 seconds for uneven time intervals

    Please show the expected output for giving exact solution


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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. Averaging Data Logger Output from Seconds to Minutes
    By Ben Mayo in forum Excel General
    Replies: 2
    Last Post: 11-14-2012, 02:34 PM
  2. Averaging Time Cells Every 10 seconds to Align Different Sampling Rates
    By jprippe391 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-22-2012, 04:14 PM
  3. Converting Data in Irregular Time Intervals into Regular Time Intervals
    By AlexJT in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2011, 02:42 AM
  4. averaging data by time (seconds)
    By Mel93 in forum Excel General
    Replies: 3
    Last Post: 07-25-2010, 01:37 AM
  5. averaging time stamped data chuncks at regular row intervals
    By edwardsn2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-05-2007, 01:29 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