+ Reply to Thread
Results 1 to 2 of 2

Thread: Conditional Formatting

  1. #1
    Registered User
    Join Date
    10-28-2011
    Location
    Delhi
    MS-Off Ver
    Excel 2007
    Posts
    86

    Conditional Formatting

    Hi,

    How to format a column in which:

    a) only duplicate values get colored (e.g, green) {and not alongwith the orginal value}
    b) any number that is in decimal form also gets colored (e.g, 2.2, 1.5, 10.98, etc.)

    Regards
    Sushil
    Last edited by sushil10s; 10-31-2011 at 12:17 PM. Reason: Tag 'Conditional Formatting'

  2. #2
    Forum Guru darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Colorado, US
    MS-Off Ver
    2007
    Posts
    2,170

    Re: Conditional Formatting

    a) Say you have your values in A1:A100. Starting with A2 (since A1 would, by definition, be unique in the range so far), try =Countif(A$1:A1,A2)>0.
    b) Starting with A1, try =Mod(A1,1)
    Life is about perseverance. Remember: today's mighty oak tree is just yesterday's nut that held its ground.

    If you like a post, please rate it with the scales icon (top right).
    If you feel really indebted, please consider a donation to charity, such as Feed the Children or Habitat for Humanity.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0