I am currently working on a spreadsheet that calculates a thermal shift based on a series of data. The data that is input by the user is a body temperature for each day of the month. A chart is automatically generated and updated as the user inputs the temperatures, and at some point during the month there will be a "thermal shift". This shift occurs when:
1)a certain cell value directly above the day that is being looked at does NOT contain a 1
2)it takes the average of the past 6 days before the current days temp as long as none of those 6 days contain a condition specified in condition 1.
3)it then checks to see if the current day's temperature is above .4 degrees higher than the average calculated in 2) and if yes, it is the thermal shift day and is plotted. If it is not, then nothing is done and we wait until the next day to see if the thermal shift happens.
The thermal shift correlates to a woman ovulating and the condition 1) is if there is any menses during that day. It is a sheet to visually update and help to figure out when/if the woman is fertile. I would like to do this with simple code (hopefully not a macro that has to keep being run). That way, it should work on mac and windows excel as well as different versions. The instantaneous plotting is visual feedback that can really help to show the fertile periods of a woman's cycle.
I would really appreciate some help in this and can upload a file of the sheet that I have at my house later tonight if someone is interested. Thanks so much!
-Brett
Bookmarks