QDRO question

When calculating the QDRO amount for 401k distribution, I realize that they will include market gains/losses but exclude contributions and distributions. How do they factor in dividends and fees?

Those are passive forces and therefore are divisable.