The easiest way I can come up with is to have 2 funds in your 401k. Put the bulk of your investment into the more volatile of the 2 funds (like a small or mid cap index) so that you can take advantage of market movement. Use the other fund to receive the monthly addition from your paycheck. Then, track only the 1st fund every quarter for your target increase (probably ~3%). Sell any to your cash/bond account from the 1st fund only, then transfer all of the money from your 2nd fund to your 1st fund. This makes it easy to calculate what your basis is each quarter. Don't worry about the returns you are getting on the 2nd fund.
Hope this helps.
DrFunk