+ Reply to Thread
Results 1 to 4 of 4

Heart rate every 5 seconds

  1. #1
    Registered User
    Join Date
    01-08-2015
    Location
    Hull
    MS-Off Ver
    2013
    Posts
    6

    Heart rate every 5 seconds

    Hi all,

    I am stuck on what feels like a simple problem, but I can't solve it.

    I have used a heart rate monitor to record the heart rate of participants running on a treadmill. I programmed the heart rate incorrectly, instead of taking the heart rate every 5 seconds, it took the heart rate after every beat. I therefore have been left with a ridiculously long data sheet, 18394 rows.

    What I would like is to take an average heart rate every 5 seconds of elapsed time to best mimic how the monitor should have been set.

    I have tried converting the time to seconds and using the following formula:

    =AVERAGEIFS(C:C,B:B,">5",B:B,"<10.1")

    That works perfectly but I can't drag it down. to try and solve the copy and update formula problem I tried creating 2 extra columns with the 'greater than' and 'less than' values in, for example; 5 - 10.1, 10 - 15.1, 15 - 20.1, and so on. For some reason though using those cell figures as the criteria just comes up with the most annoying result ever.... #DIV/0!

    Any ideas? I have attached the first minute of data results, please feel free to take a gander.

    Kind regards

    Wheats
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Heart rate every 5 seconds

    Hi,

    Perhaps in R2 copied down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Heart rate every 5 seconds

    With your 5-second increments in column P, as in your example, you can put this formula in Q2:

    =AVERAGEIFS(C:C,B:B,">="&P2,B:B,"<"&P2+5)

    and then copy down.

    Hope this helps.

    Pete

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Heart rate every 5 seconds

    Hi
    Use in E2 the value 0
    Use in E3, format as time, and copy down the following formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Use in F3 and copy down the following formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Regards

+ 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. Heart Rate Calculation
    By emam in forum Excel General
    Replies: 3
    Last Post: 06-15-2014, 05:51 PM
  2. linear interpolation for heart rate variability
    By willevans in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-07-2013, 09:43 AM
  3. [SOLVED] Formula for working out % of heart rate recovery afer exercise.
    By AngieBramley in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-01-2012, 06:36 AM
  4. Replies: 4
    Last Post: 01-18-2010, 04:29 AM
  5. Replies: 2
    Last Post: 02-17-2006, 08:15 PM
  6. [SOLVED] Excel-sort paragraphs in a doc(s):egAll on heart on one page?
    By denny in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-20-2005, 09:05 PM
  7. [SOLVED] Not for the Faith of Heart - Macro Arrays
    By Fabricio in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-22-2005, 10:06 PM

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