Yes, refunds can be used to offset audit assessments.  In addition to reducing the liability imposed, the offset lowers the amount on which penalties and interest are imposed, resulting in a significantly lower assessment.  In some cases, the refund amount is larger than the audit liability amount resulting in a net refund for the company.