5. Highlights of Presented Method
• Advance allocation for required “n”
• Uncovered as the Patient ID is filled in
• Can be modified by any Excel-literate person
6. Let Us Start
Open Sheet 2 of
a new workbook
Prepare sheet as
in next slide
7. Maximum No. of Treatments
• Enter 1 in A4
• Enter formula in A5
• Copy formula in A6:A13
• Shows Sr. No. upto no. of
treatments & then “”
8. `
• Enter formula in B4
• Copy formula In B5:B13
• Gives alphabetic characters
as treatment code
10. • Enter formula in D4
• Copy formula in D5:D13
• Shows no. of patients
allocated to each treatment
(Results will appear after
next step)
11. Sum of D4:D13 (Total no.
of patients allocated to all
treatments.
Should be = Total no. of
patients
12. What Have We Done So Far
Sr. No. of Treatments
Treatment Codes
Treatment Description
No. of patients allocated to each
treatment
Total No. of Patients
16. Link the two tables on Sheet 1
On sheet 1, put in the compiled information
17. • SN_P in Column A of sheet1
• You may copy from SN_P of Sheet B
18. • Leave Patient ID blank at present
• Enter this formula in C4 (Gives treatment
code for patiemt)
• No result will be visible in C4 at present
(Will appear only when Patient ID is filled)
• Copy formula down for other patients too
19. • Enter this formula in D4 (Gives Description
of Treatment Code)
• No result will be visible in D4
• Copy formula down for other patients too
20. • If distribution of patients allocated to each treatment (Col. D of Sheet 2)
is NOT acceptable, press F9 to change the allocation. If this too is NOT
acceptable, go on pressing F9 till you get an acceptable distribution.
• Please remember that it is very rare for each group to be allocated the
same number of patients
22. • After obtaining an acceptable allocation, make it permanent by
selecting Treatment No. Column (Col J), copying it and then using
the Paste Special => Values functions
• Switch to Sheet 1.
24. • Enter Patient ID for 1st patient.
• Treatment Code and Description
appear automatically
• Other columns can be used for
relevant patient data
From where did
this Treatment
Code come?