» Rounding Numbers that Meet Specified Criteria
CATEGORY - Excel Formula and Function
VERSION - All Microsoft Excel Versions
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))

Book Store:
Recommended Books:
- The South Beach Diet: The Delicious, Doctor-Designed, Foolproof Plan for Fast and Healthy Weight Loss
- Microsoft Windows XP Inside Out
- The Essential 55: An Award-Winning Educator's Rules for Discovering the Successful Student in Every Child
- Absolute Beginner's Guide to Microsoft Excel 2002
- Excel 2002 For Dummies®
- Microsoft Word Version 2002 Step By Step (With CD-ROM)
No comments have been submitted.

