How do you approach complex data sets in Excel to ensure accuracy?
Use the supplied excel_extract and system_records tables to identify extract rows that require review. Include records that are duplicated in the extract, missing from the system data, or have differing values. Treat two NULL values in the same field as equal.
row_id, record_id, nhs_number, and discrepancy_reason.row_id ascending.record_id values appearing more than once in excel_extract.record_id.nhs_number, extract_date, status, and amount; treat one NULL versus a non-NULL value as differing.duplicate_excel_record, missing_system_record, and field_mismatch.duplicate_excel_record; missing_system_record; otherwise use the applicable single reason.| Column | Type | Description |
|---|---|---|
| row_idPK | INT | Unique row identifier from the Excel extract |
| record_id | VARCHAR(20) | Business record identifier, which may be duplicated in the extract |
| nhs_number | VARCHAR(10) | NHS number recorded in the extract |
| extract_date | DATE | Date associated with the extracted record |
| status | VARCHAR(20) | Record status from the extract |
| amount | NUMERIC(10,2) | Recorded amount |
| Column | Type | Description |
|---|---|---|
| record_idPK | VARCHAR(20) | Unique system record identifier |
| nhs_number | VARCHAR(10) | NHS number stored in the system |
| extract_date | DATE | Date associated with the system record |
| status | VARCHAR(20) | System record status |
| amount | NUMERIC(10,2) | System amount |