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

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Looks like you've got it sorted -- what's your question?
 
Upvote 0
[Table="width:, class:grid"][tr][td="bgcolor:#C0C0C0"][/td][td="bgcolor:#C0C0C0"]
A​
[/td][td="bgcolor:#C0C0C0"]
B​
[/td][td="bgcolor:#C0C0C0"]
C​
[/td][td="bgcolor:#C0C0C0"]
D​
[/td][td="bgcolor:#C0C0C0"]
E​
[/td][td="bgcolor:#C0C0C0"]
F​
[/td][td="bgcolor:#C0C0C0"]
G​
[/td][/tr][tr][td="bgcolor:#C0C0C0"]
1​
[/td][td="bgcolor:#F3F3F3"]
Visit
[/td][td="bgcolor:#F3F3F3"]
Dispensed
[/td][td="bgcolor:#F3F3F3"]
Dose
[/td][td="bgcolor:#F3F3F3"]
Visit
[/td][td="bgcolor:#F3F3F3"]
Returned
[/td][td="bgcolor:#F3F3F3"]
Compliance
[/td][td="bgcolor:#F3F3F3"]
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
2​
[/td][td]
1 Jan 2018​
[/td][td]
200​
[/td][td]
3​
[/td][td]
1 Feb 2018​
[/td][td]
120​
[/td][td="bgcolor:#E5E5E5"]
86%​
[/td][td]F2: =(B2 - E2) / ((D2 - A2) * C2)[/td][/tr]
[/table]
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

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