UPDATE a
SET a.AuditStatusId = 7
,a.CompletedBy = b.LeadCoachEmpId
,a.CompletedDate = GETUTCDATE()
FROM Audit AS a
INNER JOIN Sheet1$ AS b ON a.Id = b.AuditId
--547
select * from audit
select *
FROM Audit AS a
INNER JOIN Sheet1$ AS b ON a.Id = b.AuditId
where AuditStatusId <> 7
--546