Employer Match for 401K

We have a 401K that has an employer match of up to 4%.  I can get the employer match to calculate for the employees that have their contribution as a percentage.  It does not calculate for the employees that have a flat amount taken out.  How can I get the employer match to calculate both?