In cell D1 there is a number: 0.0015, need to round the values in cells A1; B1; C1 to the number of decimal places in cell D1, taking into account zeros. The number that will be in cell D1 may have a different number of decimal places. That is, need to round columns A, B, C to the number of characters, as in column D for each row. The code should work on any change in the sheet.
The example indicates what is given and what the result should be. Thanks.
Bookmarks