+ Reply to Thread
Results 1 to 7 of 7

Conditional Formatting for Rounded Numbers

Hybrid View

  1. #1
    Registered User
    Join Date
    02-07-2023
    Location
    Vancouver, Canada
    MS-Off Ver
    Office 360
    Posts
    4

    Post Conditional Formatting for Rounded Numbers

    Hi everyone.

    I am trying to create a conditional formatting that highlights a dollar total IF it the cents is not divisible by 5 or 10. Basically, if the cents is not 0 5 10 15 20...95 I need it to be highlighted. What would be the formula for this?

    Thanks.

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Conditional Formatting for Rounded Numbers

    Hi kamran- try:
    Formula: copy to clipboard
    =A1*20<>INT(A1*20)
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,788

    Re: Conditional Formatting for Rounded Numbers

    Another option
    Formula: copy to clipboard
    =A1<>CEILING(A1,0.05)

  4. #4
    Registered User
    Join Date
    02-07-2023
    Location
    Vancouver, Canada
    MS-Off Ver
    Office 360
    Posts
    4

    Re: Conditional Formatting for Rounded Numbers

    Awesome thank you for the responses!!

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,788

    Re: Conditional Formatting for Rounded Numbers

    Glad to help & thanks for the feedback

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,742

    Re: Conditional Formatting for Rounded Numbers

    kamran781227 welcome to the forum.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    Dave

  7. #7
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Conditional Formatting for Rounded Numbers

    Try, =MOD(A1,5)>0

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Conditional Formatting the Rounded Value
    By bhenlee in forum Excel General
    Replies: 1
    Last Post: 02-12-2018, 06:26 PM
  2. [SOLVED] Conditional formatting - formatting the lowest 2 numbers in a list of 12 numbers
    By ktbb0312 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-09-2013, 09:59 AM
  3. [SOLVED] Conditional Formatting to Show whether the Displayed Number is Rounded
    By sskgintl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-20-2013, 10:12 PM
  4. The sum of numbers, Rounded to the next .05
    By mattio in forum Excel General
    Replies: 3
    Last Post: 12-12-2011, 06:48 PM
  5. numbers being rounded
    By intemporal in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-04-2006, 05:44 PM
  6. how do i add rounded numbers?
    By echase in forum Excel General
    Replies: 4
    Last Post: 11-12-2005, 02:45 PM
  7. Rounded numbers and SUM
    By djarcadian in forum Excel General
    Replies: 5
    Last Post: 02-11-2005, 08:41 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1