|  

» Rounding Numbers that Meet Specified Criteria

Problem:

Rounding all the numbers in column A to zero decimal places, except for those that have "5" in the first decimal place.

Solution:

Use the IF, MOD, and ROUND functions in the following formula:
=IF(MOD(A2,1)=0.5,A2,ROUND(A2,0))
Screenshot // Rounding Numbers that Meet Specified Criteria
Rounding Numbers that Meet Specified Criteria

Rate This Tip
12 34 5
Rating: 2.89     Views: 20237
No comments have been submitted.
Name
Comment Title
Comments