Significant figures as a conditional format

S

stephenp

I would like to be able to enter numbers in a cell and have the number of
significant figures automatically corrected defined by the following table

Number Report to nearest
0 -1.0 0.05
1 - 10 0.1
10 - 40 1
40 - 100 5
100 - 400 10
 
B

Bob Phillips

=ROUND(A9/LOOKUP(A9,{0,1,10,40,100},{0.05,0.1,1,5,10}),0)*LOOKUP(A9,{0,1,10,40,100},{0.05,0.1,1,5,10})
 
S

stephenp

Thanks. One issue. I would like the analyst to enter the value into say, cell
D40, and have that value adjusted and be dispalyed in cell D40. If I put the
formula in cell D40 it is a circular reference issue.
 
B

Bob Phillips

That is right, you need 2 cells, you cannot have the input value and the
result in the same cell.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top