Format for Whole number and 1 Decimal in same Cell
Here's a way of doing it in a difference cell:
=IF(A1=INT(A1),TEXT(A1,"0"),TEXT(A1,"0.0"))*1
Enter the number in A1 and this formula in B1 - format B1 as General.
Hope this helps.
Pete
On Nov 29, 7:16 pm, Sean wrote:
How can I format a cell, that if a value is entered as a whole number
it will appear as entered e.g 12, but if a decimal is entered into the
same cell it will show to 1 decimal place e.g 12.356, will appear as
12.4. Note both could be typed into same cell
Thanks
|