Hello all. It has been a while since I posted here, but I've run into a scenario that I think should be easier than it is but I'm not sure how.
Some of the folks I work with developed a spreadsheet for dosing of a medication that we use frequently. The spreadsheet is pretty crude and could be improved GREATLY.
A little background. We use a medication which is infused IV constantly. The pump rate (in mL/24h) must be set at a value between 47 and 93 (for safety and accuracy reasons). The dose of the medication is dosed by weight and is adjusted over time. The total dose is therefore dependent on the patients weight (kg), the pump rate (mg/24h), and the concentration (ng/mL) of medication used.
We choose either the desired rate and need to calculate the dose, or vice versa. The spreadsheet is to generate a table of values for adjustment of dose.
For calculating dose: dose = (pump rate * concentration) / (weight * 24 * 60)
For calculating pump rate: rate = total dose * weight * 24 * 60 / concentration
See the attached spreadsheet which uses these formulas.
The part that gets tricky is that the available concentrations are: 5,000 (ng/mL), 10,000, 15,000, 30,000, 45,000 (etc, up by 15,000 increments).
So, if you look at the spreadsheet, sheet #1, the formula calculates the CADD Pump Rate and we adjust manually column C. My solution was to add conditional formatting to make things easier to see, but this is not a very elegant solution. It would be nice to have a formula that said: if D15 is >93, then adjust C15 up to the next concentration. Would this potentially involve a lookup table? I just don't know.
The 2nd worksheet I think is a more tricky one b/c we are varying the rate by a set interval to calculate the resultant total dose, but want the rate to stay between the allocated 47-93 range. I made this sheet manually and that's the way we have done it.
Any help would be greatly appreciated. Especially on the 1st sheet. I don't know about the 2nd one as it seems more complicated.
Thank you all! Happy to answer questions if the above explanation doesn't make sense.
EpoWorksheet.xlsx
Bookmarks