not greater than formula

SOLVED

Can I set up a payroll formula for my employer portion of Simple IRA to say 3% but not greater than the employees contribution?  I have a few EEs who contribute a flat rate and I am not sure how to get them to calculate the 3% and then one who is paid hourly and does a smaller flat rate that might not be 3% of his gross. 

Any help in creating this formula would be appreciated!!  Thank you!