Warning

I am not a doctor. Only purpose of this post is to show how Excel may be helpful. Do your own homework, read at own risk. I take no repsoncibilities

I do not have dieabietes. I just know people who do.

I have moved from Google Sheets to Microsoft Excel for doing Insulin titration for my mother. I am an Android, Linux, Windows shop and felt that Google sheets would be better for being able to move between Windows and my Samsung tablet and phone. From past experience, Google Docs is excellent in collaboration. The issue that I noticed was that sometimes the data that I entered in did not prorogate between devices. I know that SAAS spreadsheets are a hub and spoke. What I think was happening was that the cached version was not being uploaded to the central server. When it was, uploaded, it became the older version because it was changed elsewhere. The issue may have been my work offline settings or how I move from device to device or wifi to wifi. In the end, it does not matter to me. For my well being and mother’s health, it just has to work.

Before I show an HTML table representation of my spreadsheet, here are my sources:

The spreadsheet that I created looks like this:

DateBlood SugarMove AverageInsulin
10/29/20185300
10/30/20186000
10/31/201813884102
11/1/2018198132100
11/2/2018107148100
11/3/2018150152100
11/4/20186410790
11/5/2018699482
11/6/2018817182

Underlying cell formulas look like:

DateBlood SugarMove Average
43402 4340353 60
43404138=IF(ISBLANK(B7),,ROUND(AVERAGE(B5:B7),0))
43405198=IF(ISBLANK(B8),"",ROUND(AVERAGE(B6:B8),0))
43406107=IF(ISBLANK(B9),"",ROUND(AVERAGE(B7:B9),0))
43407150=IF(ISBLANK(B10),"",ROUND(AVERAGE(B8:B10),0))
4340864=IF(ISBLANK(B11),"",ROUND(AVERAGE(B9:B11),0))
4340969=IF(ISBLANK(B12),"",ROUND(AVERAGE(B10:B12),0))
4341081=IF(ISBLANK(B13),"",ROUND(AVERAGE(B11:B13),0))

I am using the round function for the moving average because there is no such thing as decimal numbers on the blood glucose monitor.

The current Insulin titration looks like:

=IF(ISBLANK(B31),"",IF(COUNTIF(D27:D30,D30)>=4,IF(C31<70,MROUND(D30*0.9,2),D30+LOOKUP(C31,$H$6:$H$10,$I$6:$I$10)),D30))

The titration uses the fasting simple moving average. From what I understand about Tresiba, does change should happen every 3 to 4 days. The countif function checks to see if the last 4 doses were the same. If they are the same, titrate. Also, if the simple moving average is under 70, reduce dosage by 10%.

Look Up table:

Titration Lookup
min valueChange
0-2
800
1102
1614
1806
Important

As I said, this is a laypersons interpretation. This post is to give you ideas. However, please do your own homework.