K
kpaatu
How can I format a set of cells to dispaly varying decimal place
depending on a value in a different cell.
e.g.,
if "A5" < 1 then format cells G10:G20 to five decimal places,
if "A5" < 10 then format cells G10:G20 to four decimal places,
if "A5" < 50 then fomat cells G10:G20 to three decimal places,
if "A5" < 100 then format cells G10:G20 to two decimal places,
if "A5" < 500 then format cells G10:G20 to one decimal place.
I have used the function, Round(num,x) but this does not do the tric
most of the time. It does not dispaly the last digit if that digi
happens to be a zero. (e.g., 12.1230 is displayed as 12.123)
Thanks
k
depending on a value in a different cell.
e.g.,
if "A5" < 1 then format cells G10:G20 to five decimal places,
if "A5" < 10 then format cells G10:G20 to four decimal places,
if "A5" < 50 then fomat cells G10:G20 to three decimal places,
if "A5" < 100 then format cells G10:G20 to two decimal places,
if "A5" < 500 then format cells G10:G20 to one decimal place.
I have used the function, Round(num,x) but this does not do the tric
most of the time. It does not dispaly the last digit if that digi
happens to be a zero. (e.g., 12.1230 is displayed as 12.123)
Thanks
k