The next X damage that would be dealt to target creature, planeswalker, or player this turn is dealt to another target creature, planeswalker, or player instead.
If the first target is no longer on the battlefield, then the damage will not be dealt at all, so it can’t be redirected by this ability.