Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a matrix of numbers in Excel consisting of numerical data. I want Excel to display each cell rounded to 5 significant figures.

How would I go about this? Is it possible to perform the rounding on all cells at once?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

If your matrix is in A1:D10 then you can create a "rounded matrix" adjacent to that, e.g. in G1 use this formula

=ROUND(A1,4-INT(LOG(A1,10)))

copy down and across to J10 to get your new data rounded to 5 significant figures in G1:J10

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.