D
David
I have a worksheet with multiple sumif functions whose
values are contantly changing.
I would like to show 1 decimal point if the absolute
value of the function is < 10 (ie. "9.8") however not
show a decimal if the absolute value is > 10 (ie. "-20").
I have tried using
=if(abs(sumif(xyz))<10,text(sumif(xyz),"#.#"),sumif(xyz))
however this has resulted in values < 1 showing up
as ".9" (where I need 0.9) and values that are actually a
whole integer (ie. 8.0) showing up as "8."
Additionally, even when the function does work and shows
something like a "3.9", it does not line up with the
numbers above and below it that don't have decimals.
Any help is greatly appreciated.
Thank you for your time!!
David
values are contantly changing.
I would like to show 1 decimal point if the absolute
value of the function is < 10 (ie. "9.8") however not
show a decimal if the absolute value is > 10 (ie. "-20").
I have tried using
=if(abs(sumif(xyz))<10,text(sumif(xyz),"#.#"),sumif(xyz))
however this has resulted in values < 1 showing up
as ".9" (where I need 0.9) and values that are actually a
whole integer (ie. 8.0) showing up as "8."
Additionally, even when the function does work and shows
something like a "3.9", it does not line up with the
numbers above and below it that don't have decimals.
Any help is greatly appreciated.
Thank you for your time!!
David