+ Reply to Thread
Results 1 to 5 of 5

Conditional Format multiples of a number

  1. #1
    Forum Contributor
    Join Date
    06-20-2012
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    381

    Conditional Format multiples of a number

    Hi All,

    If I have a list of numbers 1-200 for example, I would like to highlight the cell that says 24 and it's multiples... so 24, 48, 72 etc.

    Is that possible?

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Conditional Format multiples of a number

    Hi,

    Assuming your list is in A1:A200 then, with A1 the active cell, highlight the range A1:A200 and create a new formula-based Conditional Formatting rule with this in the Format values where this formula is true: box:

    =MOD(A1,24)=0

    Select your format as desired.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Conditional Format multiples of a number

    Use "Conditional Formatting with a formula"

    The formula is:
    in cell A1:
    =MOD(A1, 24) =0

    This will return TRUE if the remainder of whatever's in the cell / 24 is 0, and FALSE if it is not.

  4. #4
    Forum Contributor
    Join Date
    06-20-2012
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    381

    Re: Conditional Format multiples of a number

    Brilliant, thanks guys, exactly what I needed.

  5. #5
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Conditional Format multiples of a number

    You're welcome.

+ 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. Replies: 13
    Last Post: 08-13-2013, 12:51 PM
  2. Replies: 3
    Last Post: 05-15-2013, 12:16 AM
  3. Count multiples within conditional formula?
    By Nate Westcott in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-31-2011, 04:50 PM
  4. Format a cell to display multiples of 7
    By Carl in forum Excel General
    Replies: 4
    Last Post: 08-10-2006, 02:10 PM
  5. Format numbers in multiples of 1000
    By KopRed in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-12-2006, 10:00 PM

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