Complicated Formula Envisaged

ozygonzo

New Member
Joined
Feb 28, 2013
Messages
10
This is Going to be complicated but here goes:
I Have a medication I receive 1 injection every 3 months, the medication contains 6 Vials
the complication is:
I want a
Name of Medication
Prescription Start Date
Prescription Renewal Date
An a automatic count down of vials and if <=0 text stating Overdue
# of Repeats

Ex Name of Prescription Prescription Medication # of
Medication Start Date Renewal Date Remaining Repeats
B12 Injection 20/02/2022 20/01/2023 1 0

Ex Name of Prescription Prescription Remaining # of
Medication Start Date Renewal Date Medication Repeats
B12 Injection 21/01/2021 21/12/2012 Overdue 0

No Sheet to work from as yet as still working out formulas, sorry
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
This is Going to be complicated but here goes:
I Have a medication I receive 1 injection every 3 months, the medication contains 6 Vials
the complication is:
I want a
Name of Medication
Prescription Start Date
Prescription Renewal Date
An a automatic count down of vials and if <=0 text stating Overdue
# of Repeats

Ex Name of Prescription Prescription Medication # of
Medication Start Date Renewal Date Remaining Repeats
B12 Injection 20/02/2022 20/01/2023 1 0

Ex Name of Prescription Prescription Remaining # of
Medication Start Date Renewal Date Medication Repeats
B12 Injection 21/01/2021 21/12/2012 Overdue 0

No Sheet to work from as yet as still working out formulas, sorry


Book1
ABCDEFGHI
1InjectionMonthsVials
2136
3
4Name of MedicationPrescription Start DatePrescription Renewal DateQuarter AvailableRequired VialsInjection TakenAppliedAvailable VialsRemarks
5B12 Injection20-02-2220-01-2342426-01-22118
6B12 Injection21-01-2221-12-12
Sheet1
Cell Formulas
RangeFormula
D5D5=ROUND((C5-B5)/90,0)
E5E5=D5*C2
G5G5=IF(F5<>"",1,"")
H5H5=E5-(G5*$C$2)
 
Upvote 0
Solution

Forum statistics

Threads
1,215,061
Messages
6,122,921
Members
449,094
Latest member
teemeren

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