401k Match formula

Ginger 1775

New Member
Joined
Oct 7, 2022
Messages
3
Office Version
  1. 365
Hi! I'm trying to build a formula for calculating 401k match based on the following logic:

Employer will match 50% of the combined Pre-tax and Roth deferrals up to a maximum of 6%. Match begins on the 1st of the month following 6 months of service.


My payroll sheet contains the following data columns to reference:

Total Gross Earnings (Column T)
Eligibility/Match Date (Column V)
3% of Gross Earnings (Column W)
Pre Tax Deferral Amount (Column Y)
Roth Deferral Amount (Column AA)
and I want the formula to produce in ER Match (Column AD)

1665175794140.png


Thank you!!
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Welcome to the Board!

How does the date come into play?
What is the date in column V being compared to?

Can you show us a few rows of dummy data and expected results?

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
The Match calculation (without any regards to the date), would look something like this:
Excel Formula:
=MIN((Y10+AA10)*0.5,T10*0.06)

If you tell us a little more about the date piece (are we comparing the date in column V to the current date, or something else), we can help you work in that part too.
If it was just comparing it to the current date, it might look something like:
Excel Formula:
=IF(V10<=TODAY(),MIN((Y10+AA10)*0.5,T10*0.06),0)
 
Upvote 0
Thank you! Below is an example of outcomes. The "Match Date" is being used to essentially restrict the Employer/ER Match column as the match isn't effective until someone has reached their Match Date. I can also manually update/remove those contributions if that's too cumbersome to build into the formula.

Those that have not yet met their match date may contribute, but the match is inactive (2nd and 3rd line example)
Those contributing a combined or total 6% of gross earnings will earn the full 3% employer match. (4th line example)
Those contributing at a rate higher than 6% are capped at the 3% maximum (1st and 5th line examples)
Those contributing below 6% are matched at 50% of their contribution rate (6th line example)

1665506491240.png
 
Upvote 0
Did you see my 2nd post, that has some formulas for you and a question regarding dates?
The formula you need may already be there.
 
Upvote 0
Did you see my 2nd post, that has some formulas for you and a question regarding dates?
The formula you need may already be there.
Hi Joe, I did see your formula, but it didn't appear to be producing the right total when I tried it on my end.

i.e. The formula produces $411 as the match for this participant, but it should be capping them at the maximum 3% ( = up to 50% of a max deferral of 6%)
So should my formula be =MIN((Y10+AA10)*0.5, T10*.03) instead?
1665515192729.png


The match date is a manual input from me of the date that their match should "turn on". So if it is a future date, then the ER match would be '$0" but I would still be capturing their employee contributions from column Y & column AA
 
Upvote 0
So should my formula be =MIN((Y10+AA10)*0.5, T10*.03) instead?
Yes, sorry I thought you meant a maximum match of 6%. So your update to it should be correct.
Does it work right if you make that change?
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,845
Members
449,051
Latest member
excelquestion515

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top