SOLVED

Round a Value with the reference of Another Value

Contributor

Here attached the excel sheet.

Refer to the Video.

5 Replies
best response confirmed by ajmal pottekattil yoousuf (Contributor)
Solution

@ajmal pottekattil yoousuf 

=TEXT(E3,IF(E4<1,"0."&REPT("0",-LOG(E4)),"0"))

@Hans Vogelaar 

The Resolution of UUT is changed the value is not popup properly.

@ajmal pottekattil yoousuf 

In your previous example, the resolution was always a power of 10: 1 or 0.1 or 0.01 or 0.001.

Your current example isn't helpful since Range is the whole number 10. Please provide some relevant examples, for example with Range = 123.456 and Resolution = 0.7 or Resolution = 0.09 etc.

A sample workbook or a screenshot is easier for me than a video.

@ajmal pottekattil yoousuf 

Does this do what you want?

 

=TEXT(E3,IF(E4<1,"0."&REPT("0",-ROUNDUP(LOG(E4),0)),"0"))