Spreadsheet Validation
Spreadsheet Validation
Validation
By Praxis Life Sciences
1925 West Field Court, Suite 125, Lake Forest, IL 60045 Validation Center™
praxislifesciences.com | +1(847) 295-7160 validationcenter.com
Reproduction or re‐transmission in any form or by any means, electronic or mechanical
without prior written permission from Praxis is prohibited.
© 2019 Praxis Life Sciences. All rights reserved.
Spreadsheet
Validation
© Copyright 2019 by Praxis Life Sciences. All rights reserved. No
part of these materials may be reproduced or transmitted in any
form without the written permission of Praxis.
v.19.07
Follow us!
Validation Center™ © 2019 Praxis Life Sciences 3
Target Audience
• Pharmaceutical & Biologics
Industries •
•
Medical Device
Clinical Studies
• Blood Products
Validation Center™
www.praxismi.com © 2019 Praxis Life Sciences 4
Validation Center™
www.praxismi.com © 2019 Praxis Life Sciences 5
Webinar Outline
1 • FDA Guidance
Validation Center™
www.praxismi.com
© 2019 Praxis Life Sciences 6
Regulations (Laws)
FDA 21 CFR ….
Eudralex Volume …
Best Practices
GAMP
from Industry IEEE ISO
Guides etc.
Groups and (ISPE)
Guides Standards
Standards Bodies
Regulations (Laws)
FDA 21 CFR ….
Eudralex Volume …
Best Practices
GAMP
from Industry IEEE ISO
Guides etc.
Groups and (ISPE)
Guides Standards
Standards Bodies
Quote:
Quote:
Numerous commercial software applications may be used as part of the
quality system (e.g., a spreadsheet or statistical package used for
quality system calculations, a graphics package used for trend analysis,
or a commercial database used for recording device history records or for
complaint management).
The extent of validation evidence needed for such software depends on the
manufacturer’s documented intended use of that software.
For example, a manufacturer who chooses not to use all the vendor-supplied
capabilities of the software only needs to validate those functions that will be
used and for which the manufacturer is dependent upon the software results
as part of production or the quality system.
Validation Center™
www.praxismi.com © 2019 Praxis Life Sciences 13
Quote:
Regulations (Laws)
FDA 21 CFR ….
Eudralex Volume …
Best Practices
GAMP
from Industry IEEE ISO
Guides etc.
Groups and (ISPE)
Guides Standards
Standards Bodies
General guidance for design and validation of in-house spreadsheets and other
numerical calculation programs includes the following considerations:
1. Lock all cells of a spreadsheet, except those needed by the user to input
data.
2. Make spreadsheets read-only, with password protection, so that only
authorized users can alter the spreadsheet.
6. Keep a permanent record of all cell formulas when the spreadsheet has
been developed. Document all changes made to the spreadsheet and
control using a system of version numbers with documentation.
www.ValidationCenter.com
Validation and
Part 11 Compliance
Part 2
Questions to Ask
Questions to Ask
Per FDA 21
CFR Part 11,
A. which spreadsheets
D.
Spreadsheet would be
Spreadsheets of
of training on in scope?
manufacturing
QA SOPs
schedules
C.
Spreadsheets
B. submitted to
the FDA for a E.
Spreadsheet Spreadsheets
of lab test New Drug
Application used to
results calculate lab
(NDA)
results
• Validation
11.10(a) Validation of systems to ensure accuracy, reliability,
consistent intended performance, and the ability to discern
invalid or altered records.
(1) Distribution of, access to, and use of documentation for system
operation and maintenance.
(2) Change control procedures to maintain an audit trail that
documents time-sequenced development and modification
• Sequencing
Functionality 11.10(f) Use of operational system checks to enforce
permitted sequencing of steps and events.
• Accountability 11.10(j) The establishment of, and adherence to, written policies that
hold individuals accountable and responsible for actions initiated
under their electronic signatures, in order to deter record and
signature falsification.
Compliance Tools
Example spreadsheet tool is available at: www.ofnisystems.com
Spreadsheet Risk
Assessment & Mitigation
Part 3
Hazard
A potential source of harm
Risk
The combination of the probability of occurrence
of a hazard and the severity of the harm
Risk Assessment
A comprehensive evaluation of risks and
associated impacts
Risk Mitigation
Actions taken to reduce the impacts of risks
Hazard Identification
Identification
Key Questions
– What could go wrong with this spreadsheet?
– How would this impact business operations?
– Would this negatively affect:
» Patient safety?
» Product quality?
» The Integrity of associated data?
Risk Classification
Evaluation Classification
“Criticality” “Complexity”
measures is used to predict
The safety severity “probability of occurrence”
of the hazard for software hazards
Criticality Classification
Common Classification Method for Criticality
Direct impact on patient safety, product quality,
High Criticality
or the integrity of associated data
Indirect impact on patient safety, product
Medium Criticality
quality, or the integrity of associated data
No impact on patient safety, product quality, or
Low Criticality
the integrity of associated data
Complexity Classification
Classification Method for Complexity (likelihood of failure)
High Medium Low
Complexity Complexity Complexity
Likelihood
of Defect
High Medium Low
• Direct impact on
Simple arithmetic
product quality
A calculation for content High Low • Basic spreadsheet
uniformity
functionality
• Indirect impact on
Record of training quality and/or safety
B
attendance
Medium Low • Basic spreadsheet
functionality
Statistical analysis of • Direct impact on patient
C clinical study data with High High safety
VB macros • Custom Macros
• Direct impact on
Statistical analysis of
product quality
D manufacturing data for High Medium • Complex logic and
process control
look-up functions
Criticality High Med Low High Med Low High Med Low
Complexity High High High Med Med Med Low Low Low
All paths, All paths, All paths, All paths, All paths,
Path testing multiple single Sampling single single Sampling single Sampling Sampling
scenarios scenario scenario scenario scenario
Boundary testing Required Required Optional Required Optional Optional Required Optional Optional
Criticality High Med Low High Med Low High Med Low
Complexity High High High Med Med Med Low Low Low
Risk Assessment Required Required Required Required Required Required Required Required Required
Change Request Required Required Optional Required Required Optional Required Required Optional
Validation
Required Required Optional Required Required Optional Required Required Optional
Documentation
Design Review Required Required Optional Required Optional Optional Optional Optional Optional
Part 11
Compliance for Required Required Optional Required Required Optional Required Required Optional
any records
Verification of
Required Required Optional Required Required Optional Required Required Optional
SOPs **
** Spreadsheet Use and Support SOPs include: Back-up, Recovery, Security and Access, Training
Requirements, Incident Handling, Change Management, Technical Operation and Routine
Maintenance, User Operation
Spreadsheet Validation
Approach
Part 4
FDA Definitions
The FDA defines software validation as… Examine the
software to
confirm that it
Document all functions as
validation Confirmation by examination and defined in
activities and requirements
test results provision of objective evidence that and it will be
software specifications conform to suitable for
the intended
Define what
the user user needs and intended uses, and use
needs to do
with the that the particular requirements Define how
software
and how
implemented through software can be the software
needs to work
they will use consistently fulfilled to enable the
the software intended use
Source: General Principles of Software Validation: Final Guidance for Industry and FDA Staff
Planning Reporting
Specification Verification
Purchase, Coding,
and/or Configuration
GENERAL APPROACH
Planning Reporting
Functional Functional
Specification Testing
Specification Verification
Configuration Design Configuration
Specification Testing
Configuration
Change
Request IT
Build, Unit Write
Design
Config. Test IQs
Test
Test Test
Test
Project RunPlans RunPlans Test Val.
URS FS Plans Plans Run IQ
Plan OQs PQs Summary Summary
Test
Test WriteTest
Test
Val. Test
Plans Plans Trace
Plans OQs &
Plans
Val Team, Plan Plans Matrix Val. Val.
PQs
Users Incident Incident
Report Report
TIME
Test
Test Test
Test
Project RunPlans RunPlans Test Val.
URS FS Plans Plans Run IQ
Plan OQs PQs Summary Summary
Test WriteTest
Val. Test
Test Test Trace
Plans
Plans OQs Plans
&
Plans
Val Team, Plan Plans Matrix Val. Val.
PQs
Users Incident Incident
Report Report
TIME
Test
Test Test
Test
Project RunPlans RunPlans Test Val.
URS FS Plans Plans Run IQ
Plan OQs PQs Summary Summary
Test
Test WriteTest
Test
Val. Test
Plans Plans Trace
Plans OQs &
Plans
Val Team, Plan Plans Matrix Val. Val.
PQs
Users Incident Incident
Report Report
TIME
Test
Test Test
Test
Project RunPlans RunPlans Test Val.
URS FS Plans Plans Run IQ
Plan OQs PQs Summary Summary
Test WriteTest
Val. Test
Test Test Trace
Plans
Plans OQs Plans
&
Plans
Val Team, Plan Plans Matrix Val. Val.
PQs
Users Incident Incident
Report Report
TIME
Test
Test Test
Test
Project RunPlans RunPlans Test Val.
URS FS Plans Plans Run IQ
Plan OQs PQs Summary Summary
Test
Test WriteTest
Test
Val. Test
Plans Plans Trace
Plans OQs &
Plans
Val Team, Plan Plans Matrix Val. Val.
PQs
Users Incident Incident
Report Report
TIME
Test
Test Test
Test
Project RunPlans RunPlans Test Val.
URS FS Plans Plans Run IQ
Plan OQs PQs Summary Summary
Test WriteTest
Val. Test
Test Test Trace
Plans
Plans OQs Plans
&
Plans
Val Team, Plan Plans Matrix Val. Val.
PQs
Users Incident Incident
Report Report
TIME
Test
Test Test
Test
Project RunPlans RunPlans Test Val.
URS FS Plans Plans Run IQ
Plan OQs PQs Summary Summary
Test
Test WriteTest
Test
Val. Test
Plans Plans Trace
Plans OQs &
Plans
Val Team, Plan Plans Matrix Val. Val.
PQs
Users Incident Incident
Report Report
TIME
Test
Test Test
Test
Project RunPlans RunPlans Test Val.
URS FS Plans Plans Run IQ
Plan OQs PQs Summary Summary
Test WriteTest
Val. Test
Test Test Trace
Plans
Plans OQs Plans
&
Plans
Val Team, Plan Plans Matrix Val. Val.
PQs
Users Incident Incident
Report Report
TIME
Test
Test Test
Test
Project RunPlans RunPlans Test Val.
URS FS Plans Plans Run IQ
Plan OQs PQs Summary Summary
Test
Test WriteTest
Test
Val. Test
Plans Plans Trace
Plans OQs &
Plans
Val Team, Plan Plans Matrix Val. Val.
PQs
Users Incident Incident
Report Report
TIME
Test
Test Test
Test
Project RunPlans RunPlans Test Val.
URS FS Plans Plans Run IQ
Plan OQs PQs Summary Summary
Test WriteTest
Val. Test
Test Test Trace
Plans
Plans OQs Plans
&
Plans
Val Team, Plan Plans Matrix Val. Val.
PQs
Users Incident Incident
Report Report
TIME
Change
Request
IT
Build, Unit Write
Design
Config. Test IQs
Test
Test Test
Test
Project Run
Plans RunPlans Test Val.
URS FS Plans Plans Run IQ
Plan OQs PQs Summary Summary
Test WriteTest
Val. Test
Test Test Trace
Plans
Plans OQs Plans
&
Plans
Val Team, Plan Plans Matrix Val. Val.
PQs
Users Incident Incident
Report Report
TIME
Spreadsheet Adaptation
How Can the Standard Validation Project Deliverables
be adapted for Spreadsheet Validation?
Change
Request
Build, Unit Write
Design
Config. Test IQs
Test
Test Test
Test
Project Run
Plans RunPlans Test Val.
URS FS Plans Plans Run IQ
Plan OQs PQs Summary Summary
Test WriteTest
Val. Test
Test Test Trace
Plans
Plans OQs Plans
&
Plans
Plan Plans Matrix Val. Val.
PQs
Incident Incident
Report Report
TIME
Spreadsheet Adaptation
How Can the Standard Validation Project Deliverables
be adapted for Spreadsheet Validation?
Change
Request
Build, Unit Write
Design
Config. Test IQs
Test Test
Test
Run Test
Run
Project Plans Plans Test Val.
URS FS Plans Plans Run IQ
Plan OQs PQs Summary Summary
Test
Test WriteTest
Test
Val. Test
Plans Plans Trace
Plans OQs &
Plans
Plan Plans Matrix Val. Val.
PQs
Incident Incident
Report Report
TIME
Spreadsheet Adaptation
How Can the Standard Validation Project Deliverables
be adapted for Spreadsheet Validation?
Change
Request
Build, Unit Write
Design
Config. Test IQs
Test
Test Test
Test
Project Run
Plans RunPlans Test Val.
URS FS Plans Plans Run IQ
Plan OQs PQs Summary Summary
Test WriteTest
Val. Test
Test Test Trace
Plans
Plans OQs Plans
&
Plans
Plan Plans Matrix Val. Val.
PQs
Incident Incident
Report Report
TIME
Spreadsheet Adaptation
How Can the Standard Validation Project Deliverables
be adapted for Spreadsheet Validation?
Change
Request
Build, Unit Write
Design
Config. Test IQs
Test Test
URS & Test
Run Test
Run
Project Plans Plans Test Val.
URS Plans Plans Run IQ
Plan FS OQs PQs Summary Summary
Test
Test WriteTest
Test
Val. Test
Plans Plans Trace
Plans OQs &
Plans
Plan Plans Matrix Val. Val.
PQs
Incident Incident
Report Report
TIME
Spreadsheet Adaptation
How Can the Standard Validation Project Deliverables
be adapted for Spreadsheet Validation?
Change
Request
Build, Unit Write
Design
Config. Test IQs
Test
Test Test
Test
Project URS & Run
Plans RunPlans Test Val.
URS Plans Plans Run IQ
Plan FS OQ/PQ PQs Summary Summary
Test Test
Write
Val. Test
Test Test Trace
Plans
Plans Plans
OQ/PQ
Plans
Plan Plans Matrix Val. Val.
w.Trace
Incident Incident
Report Report
TIME
Spreadsheet Adaptation
How Can the Standard Validation Project Deliverables
be adapted for Spreadsheet Validation?
Change
Request
Build, Unit Write
Design
Config. Test IQs
Test Test
URS & Test
Run Test
Run
Project Plans Plans Test Val.
URS Plans Plans Run IQ
Plan FS OQ/PQ PQs Summary Summary
Spreadsheet Adaptation
How Can the Standard Validation Project Approval Points
be adapted for Spreadsheet Validation?
Write
Change
Val. & Val &
Build, OQ/PQ Write Run
Request Test URS/ FS Design Test Run IQ
Config. w/Trace IQs OQ /PQ
Plan Summary
Matrix
Val.
Incident
Report
TIME
Write
Change
Val. & Val &
Build, OQ/PQ Write Run
Request Test URS/ FS Design Test Run IQ
Config. w/Trace IQs OQ /PQ
Plan Summary
Matrix
Spreadsheet Validation
Example
Part 5
The Spreadsheet
Change Authorization
• Can be incorporated into the validation template or
used as a stand-alone document
• Include description and justification for change
• Approved by
• Quality Assurance
• Business Owner (function that will use the spreadsheet)
• Technology Owner (function that will build the spreadsheet)
Write
Change
Val. & Val &
Build, OQ/PQ Write Run
Request Test URS/ FS Design Test Run IQ
Config. w/Trace IQs OQ /PQ
Plan Summary
Matrix
Change Request
Validation Plan
• Validation Scope
• Risk Assessment and Mitigation
• Validation Strategy
• Test Plan
• Acceptance Criteria
Write
Change
Val. & Val &
Build, OQ/PQ Write Run
Request Test URS/ FS Design Test Run IQ
Config. w/Trace IQs OQ /PQ
Plan Summary
Matrix
Validation Plan
Validation Plan
Validation Plan
Write
Change
Val. & Val &
Build, OQ/PQ Write Run
Request Test URS/ FS Design Test Run IQ
Config. w/Trace IQs OQ /PQ
Plan Summary
Matrix
Validation Center™
www.praxismi.com
© 2019 Praxis Life Sciences 88
Validation Center™
www.praxismi.com © 2019 Praxis Life Sciences 89
For Example …
o Reference any design standards followed
o Insert or attach an image of the spreadsheet
o Insert or attach a view of the spreadsheet showing the
formulas in each cell
o Insert or attach images of configurations, macros, security
settings, and any other design elements
Write
Change
Val. & Val &
Build, OQ/PQ Write Run
Request Test URS/ FS Design Test Run IQ
Config. w/Trace IQs OQ /PQ
Plan Summary
Matrix
Validation Center™
www.praxismi.com
© 2019 Praxis Life Sciences 90
Formula Printing
Write
Change
Val. & Val &
Build, OQ/PQ Write Run
Request Test URS/ FS Design Test Run IQ
Config. w/Trace IQs OQ /PQ
Plan Summary
Matrix
Validation Center™
www.praxismi.com © 2019 Praxis Life Sciences 93
Installation Qualification
• Describe the steps to install the spreadsheet into
production
o Location
o File security
o Password protection
Write
Change
Val. & Val &
Build, OQ/PQ Write Run
Request Test URS/ FS Design Test Run IQ
Config. w/Trace IQs OQ /PQ
Plan Summary
Matrix
Validation Center™
www.praxismi.com
© 2019 Praxis Life Sciences 98
Installation Qualification
Preliminary Approval
• Obtain approval of all deliverables up to this point
Write
Change
Val. & Val &
Build, OQ/PQ Write Run
Request Test URS/ FS Design Test Run IQ
Config. w/Trace IQs OQ /PQ
Plan Summary
Matrix
Preliminary Approval
Run OQ and PQ
• Follow the approved test protocol
o Execute steps
o Record actual results
o Capture screen prints
o Document steps that pass (or fail)
• Create a Verification Issue Report for any failing tests
o Describe failure
o Determine error type (e.g., test error, tester error, functionality error)
o Describe resolution
o Describe re-testing and regression testing required
Write
Change
Val. & Val &
Build, OQ/PQ Write Run
Request Test URS/ FS Design Test Run IQ
Config. w/Trace IQs OQ /PQ
Plan Summary
Matrix
Issue Report
Summary Reports
• Testing Summary
o Summarize the results of the verification (testing) activities
• Validation Summary
o Compare current state vs. acceptance criteria identified in the
approved Validation Plan
Write
Change
Val. & Val &
Build, OQ/PQ Write Run
Request Test URS/ FS Design Test Run IQ
Config. w/Trace IQs OQ /PQ
Plan Summary
Matrix
Summary Reports
Validation Approval
• Approve the validation deliverables and authorize the
production use of the spreadsheet
Write
Change
Val. & Val &
Build, OQ/PQ Write Run
Request Test URS/ FS Design Test Run IQ
Config. w/Trace IQs OQ /PQ
Plan Summary
Matrix
Validation Approval
Installation, Closure
Installation
• Execute the pre-approved Installation Qualification
o Execute steps
o Record actual results
o Capture screen prints
o Document steps that pass (or fail)
Closure
• Obtain signature to close validation project
Write
Change
Val. & Val &
Build, OQ/PQ Write Run
Request Test URS/ FS Design Test Run IQ
Config. w/Trace IQs OQ /PQ
Plan Summary
Matrix
Validation Closure
Data Source
• FDA Warning Letters related to Software and
Computer Systems
• 9 Year Range: 2010-2018
Audit
Finding
Regulation
Observations
1%
2% 10% Device/product Software
2% Laboratory Systems
3%
27% Manufacturing Control Software
4% Complaint Systems
5% SPREADSHEETS
Inventory Control Systems
6% Blood Management Systems
40% Clinical Study Systems
Document Management
Others (< 2% each)
Failure to Validate
9%
31%
Not Suitable for Intended Use
The percent Average and percent Standard Deviation results did not change
from month to month on the Aberrant Controls, Failed Run or Failed
Runs/Aberrant Controls spreadsheets. The error was due to failure to use the
current rolling 12-month formula in the spreadsheet calculations.
When a recalculation was performed, an alert level for HIV was identified.
Firm tracks complaint data on a spreadsheet that contains free form text
fields that are not standardized, resulting in an
inability to adequately trend the data.
For example,
when using complaint data for part "6090," 14 complaints are shown.
However, the spreadsheet contains several different descriptions of the
same part failure that when totaled resulted in a total count of
40 complaints related to part #6090.
Specifically
Your firm’s laboratory analysts have the ability to access and modify the
formulas in the Excel spreadsheets used to calculate assay results for drug
products. Due to the unrestrictive access, there is no assurance that the
formulas in the Excel spreadsheets are accurate and valid.
At the drug facility, the investigator noticed that the use of the Excel
spreadsheets in analytical calculations are neither controlled nor protected
from modifications or deletion.
The investigator noticed that the calculation for residual solvent uses an
Excel spreadsheet that has not been qualified. We are concerned about the
data generated by your QC laboratory from non-qualified and uncontrolled
Excel spreadsheets.
Conclusion
Need Help?
Thank You!
Thanks for your interest in Spreadsheet Validation
Debra Bartel
+1 (847) 295-7160
[email protected]
validationcenter.com | praxislifesciences.com
Follow us!