Replacing flooring because of cracked tile or grout can be a costly project. Have you considered repairing instead of replacing?
(1) Can a cracked tile be fixed?
Well tile can't be glued back together seamlessly, there are other options:
Carefully extract tile from closet to patch
Replace a few tiles with a different color randomly to make it look meant to be
Replace tile to make stripes
If in a convenient location, a transition strip may suffice
(2) Can grout be fixed?
Depending on the situation, it definitely can be fixed. There are a few options to be able to repair grout, or just simply etch it out and re-grout.