+ Reply to Thread
Results 1 to 5 of 5

Continuous 7 Day Average

  1. #1
    Registered User
    Join Date
    10-24-2012
    Location
    oklahoma
    MS-Off Ver
    Excel 2007
    Posts
    3

    Question Continuous 7 Day Average

    I have recently been diagnosed with diabetes. I have a simple spreadsheet that I am keeping track of my blood sugar levels when I take it. I take it 2 - 3 times a day. I have 3 columns, A = Date B = Time C = blood sugar level. I have a simple average formula of the all the entries in Column C, but I would also like a rolling 7 day average. I can do this manually, but I dont want to have to keep modifying the simple average formula to do so. I am sure there is a way to do it with a formula that looks at the dates in Column A and then averages the numbers in Column C for those 7 days. I figure the tricky par is that Column A will have the same date for multiple rows. I can change the spreadsheet around if i need to, if it will make it easier. Something like having Column A only have a date entry for a single do, but I could have more columns for the blood sugar readings (morning, noon, evening, ect...). I would also like a 30 day average, but I assume I can just modify the 7 day formula to get that one going.

    If anyone could help me out here, I would appreciate it. If you need more info, or if I did not explain it well enough, please let me know. Thanks...

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,422

    Re: Continuous 7 Day Average

    In cell D8: =AVERAGE(C2:C8) ... Drag down


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    10-24-2012
    Location
    oklahoma
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Continuous 7 Day Average

    Thanks for the reply.

    Yes, I could do that for every 7 days, but I would like something that would update automatically so I dont have to keep modifying the formula, or creating a new one for every 7 days. Any ideas?

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,422

    Re: Continuous 7 Day Average

    So, you just want to see the 7 day average now, not as it changes over time?

    Maybe:

    =AVERAGE(INDEX(C:C,COUNTA(C:C)-7):INDEX(C:C,COUNTA(C:C)))

    Regards, TMS

  5. #5
    Registered User
    Join Date
    10-24-2012
    Location
    oklahoma
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Continuous 7 Day Average

    Correct, I want to see it as it changes over time. So I can just look at it and see that in the last 7 days, my blood sugar has be X number. So the 7 day average should change every day pretty much.

+ 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