Excel-like date calculations
I have created a very easy spreadsheet which enables the user to calculate the day on which the medication supply runs out.
The sheet considers
- number of tablets available
- number of tablets to take per day (1 or 2)
- start date
By dividing the number of tablets by the number of days, the function will provide the total number of days which the medication will cover. By using MIN it will round the number to the next lower integer. At the end it substract the output by one (due to the fact that the first tablet is already taken on the start date).
Now I would like to make this available on a website as a calculator. It should be something like a form where only the yellow fields can be edited. Does anyone have an idea which tools I could use for this? Ideally, it should be possible to embed this in an wordpress page.
Many thanks in advance.
(you can see the spreadsheet in the attachment)