+ Reply to Thread
Results 1 to 11 of 11

What new rules do I need for Conditional Formatting?

  1. #1
    Registered User
    Join Date
    12-06-2010
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    45

    What new rules do I need for Conditional Formatting?

    Sample.xlsx
    Please refer to the attachment. What I need to do is to group the same numbers together and highlight with different colors. Do you think it is possible? Thanks for your help.
    Attached Files Attached Files
    Last edited by ypurcaro; 01-02-2013 at 02:02 PM. Reason: Wrong file format

  2. #2
    Forum Contributor dogberry's Avatar
    Join Date
    07-15-2012
    Location
    Wales, UK
    MS-Off Ver
    Excel 2010
    Posts
    624

    Re: What new rules do I need for Conditional Formatting?

    Hi

    Not used 2003 but if you have conditional formatting highlight duplicates will do it for you


    Chris
    Click my star if I helped Thanks

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,051

    Re: What new rules do I need for Conditional Formatting?

    why are you posting a word document when you are asking an excel question?
    please upload the sample workbook
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    12-06-2010
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: What new rules do I need for Conditional Formatting?

    Quote Originally Posted by FDibbins View Post
    why are you posting a word document when you are asking an excel question?
    please upload the sample workbook
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    I'm so sorry, I thought I just posted an image. I apologize.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,051

    Re: What new rules do I need for Conditional Formatting?

    if you convert the entries in column A to values, instead of text that looks like values, you can use Conditional Formatting for what you need.

    highight all the entries in A, then scroll back up to the top. look for the little yellow diamond on the right habd side of the top cell, click it and select "convert to number"
    then, with the cells still highlighted, go into CF, delete the rule you have there, select new rule, "format cells based on their values", select either 2 or 3-colors

  6. #6
    Registered User
    Join Date
    12-06-2010
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: What new rules do I need for Conditional Formatting?

    Quote Originally Posted by FDibbins View Post
    if you convert the entries in column A to values, instead of text that looks like values, you can use Conditional Formatting for what you need.

    highight all the entries in A, then scroll back up to the top. look for the little yellow diamond on the right habd side of the top cell, click it and select "convert to number"
    then, with the cells still highlighted, go into CF, delete the rule you have there, select new rule, "format cells based on their values", select either 2 or 3-colors
    Yes, I did convert to number. I think I should use the word "repeat" instead of "same numbers". On column A, you will see some numbers are repeated. I want to highlight that group. Otherwords, I want Excel to go thru the column, then highlight with different color for those have same numbers.

    I did the conditional formatting, I use the rules type: Format Only Unique or Duplicate Cells. Doesn't work.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,051

    Re: What new rules do I need for Conditional Formatting?

    Quote Originally Posted by FDibbins View Post
    highight all the entries in A, then scroll back up to the top. look for the little yellow diamond on the right habd side of the top cell, click it and select "convert to number"
    then, with the cells still highlighted, go into CF, delete the rule you have there, select new rule, "format cells based on their values", select either 2 or 3-colors
    perhaps you missed the bolded part in my previous post?

    and please do not "reply with quotes" unless you are trying to high-light something from a previous post

  8. #8
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: What new rules do I need for Conditional Formatting?

    Hi

    As FDibbins post #5. Another option with a formula to apply banding, easier to read. In column C: C1 = TRUE and then in C2 and copy down: =IF(A1=A2,C1,NOT(C1))
    Go to Conditional Formatting > New Rule > Use a formula etc > Enter: =$C2 & Format as required.
    You can hide column C or whatever column you used! See the attached.
    Attached Files Attached Files
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  9. #9
    Registered User
    Join Date
    12-06-2010
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: What new rules do I need for Conditional Formatting?

    FDibbins and Kevin, thank you very much for your help. Without your help, I would never thought of this because this is not at my level. When I look at the formula, I get very confused. If we translate the formula =IF(A1=A2,C1NOT(C1))to plain English, it would be - to compare the cell A1 and A2, if they are same, go to C1; otherwise do not, am I right? Now, A1 has no value, it's just text and C1 was blank.

  10. #10
    Registered User
    Join Date
    12-06-2010
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: What new rules do I need for Conditional Formatting?

    CONDITIONAL FORMATTING.xlsxOK, I got the True and False part but look at the formatting. What have I don't wrong? Please take a look my file. Thanks for your help.

  11. #11
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: What new rules do I need for Conditional Formatting?

    Hi ypurcaro

    Looks like it is working to me, it is banding as you required (Grouped together)

+ 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.6.0 RC 1