when is the median the most useful measure of central tendencey
The median is more useful than the mean when there is an outlier (a number much larger or much smaller than the others).
For instance: in the set {1, 2, 3, 4, 5, 6, 1000}, the median is 4 while the mean is 145.9 (approximately).