How to write a drug accountability formula?

orlandomedic

New Member
Joined
Feb 16, 2018
Messages
3
I work in clinical research and would like a program to calculate a patient's medication compliance between visits and to share with the whole team. This would make a lot of people happy and it's something we can print and place in the chart.
Formula
Calculate the percentage difference between two numbers(Total dispensed - returned) / (Days between visits x dose[# of pills])
Example:
(200-120) / (31 x 3) = 80 / 93 = 0.86 x 100 = 86%
Any help would be greatly appreciated!!
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Looks like you've got it sorted -- what's your question?
 
Upvote 0
A​
B​
C​
D​
E​
F​
G​
1​
Visit
Dispensed
Dose
Visit
Returned
Compliance
2​
1 Jan 2018​
200​
3​
1 Feb 2018​
120​
86%​
F2: =(B2 - E2) / ((D2 - A2) * C2)
 
Upvote 0

Forum statistics

Threads
1,216,100
Messages
6,128,827
Members
449,470
Latest member
Subhash Chand

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top