In baseball or softball, a batting average is calculated by dividing hits by at-bats. It is displayed as .333 or .400 or .025 or, if perfect, 1.000. However, a standard calculation yields a result such as 0.333 or 0.400, etc. Is there a way in Excel to format the calculation such that it drops the initial 0 in front of the decimal point? If so, is there a way to also allow the 1 if the batting average is 1.000? This one has been driving me nuts for a long time. Thanks for your help.
Wade in San Diego
Wade in San Diego