I have found a formula on this site "=IF($A$16=1,TEXT(IF($A$16=1,B2,B3),"0")*1,TEXT(IF($A$16=1,B2,B3),"0.0")*1)" that solved one problem for me, having a graph with two different variables in a dropdown selection, one showing the number to one decimal and the other showing the whole number.
I have another graph that has 8 options, four that should be to one decimal place OR four that would be whole numbers. I tried to modify the formula to "=IF($A$16=1,TEXT(IF($A$16=1,B2,B3,B4,B5),"0")*1,TEXT(IF($A$16=1,B2,B3,B4,B5),"0.0")*1)" but that did not work.
Any help with modifying it to cover more variables? (would prefer if I didn't have to copy a lot of data and paste it into a sheet to post if possible.)
Bookmarks