+ Reply to Thread
Results 1 to 9 of 9

Conditional Formatting - duplicate values plus one more condition

  1. #1
    Registered User
    Join Date
    12-22-2022
    Location
    Weymouth
    MS-Off Ver
    Microsoft 365
    Posts
    18

    Conditional Formatting - duplicate values plus one more condition

    Hello,

    Is it possible to use conditional formatting to highlight only those duplicate values which are also greater than 10? Thanks!

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,684

    Re: Conditional Formatting - duplicate values plus one more condition

    yes
    something like
    countifs(range, cell for duplicate , range with values , ">"&10 )>1

    A sample sheet would help here

    The forum does allow for spreadsheets to be uploaded direct to the forum -

    Please see the Yellow Banner at the top of the page explaining how to attach a sample spreadsheet

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

    Here are the instructions, found at the top of the page again
    Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    12-22-2022
    Location
    Weymouth
    MS-Off Ver
    Microsoft 365
    Posts
    18

    Re: Conditional Formatting - duplicate values plus one more condition

    Thanks for your reply.

    I have uploaded the worksheet. In Column B, I would like to use conditional formatting to highlight those Employee Ref which are repeating.

    (This means, I am wanting to measure the frequency of sickness taken)

    However, I do not want to highlight those subtotal numbers.

    The outcome is, I want cells B16:B21 highlighted, but by using conditional formatting.

    Any suggestions on how I should do this?

    Your help is much appreciated!

    Thanks.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    12-22-2022
    Location
    Weymouth
    MS-Off Ver
    Microsoft 365
    Posts
    18

    Re: Conditional Formatting - duplicate values plus one more condition

    Please find attached also the end result that I want.

    I manually highlight the cells myself, but the idea is to use conditional formatting to do so.

    Thanks!
    Attached Files Attached Files

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,684

    Re: Conditional Formatting - duplicate values plus one more condition

    is that an accurate representation of the real data .......
    working on, as a bit difficult to isolate just those items ....
    But as it maybe a complex Logical test , i want to make sure , any formula will apply to the real data

  6. #6
    Registered User
    Join Date
    12-22-2022
    Location
    Weymouth
    MS-Off Ver
    Microsoft 365
    Posts
    18

    Re: Conditional Formatting - duplicate values plus one more condition

    Not real data at all. Just an exercise.

  7. #7
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,684

    Re: Conditional Formatting - duplicate values plus one more condition

    Just an exercise.
    oh, ok
    so homework of somekind
    I wont answer in full , as per the rules - https://www.excelforum.com/forum-rul...rum-rules.html
    3. We wont do your homework for you, but we will help guide you
    BUT as i say, i have not found a solution yet,
    the sort of things I have been doing is using
    AND()
    Looking at Employee ref being above a certain number - so the cells below with a 1 in dont count, in fact i used 100
    to isolate the Employee ID as VALID
    AND(B3>100,....

    BUT then looking to other factors
    i have not fully solved yet, All but the first entry - so have a look at how to make that range unique , by using some of the other values , below above

    I can get all of the range - BUT the 1st value is also include - otherwise , I seem to miss the first or last value in that range
    Last edited by etaf; 01-11-2023 at 08:24 AM.

  8. #8
    Registered User
    Join Date
    12-22-2022
    Location
    Weymouth
    MS-Off Ver
    Microsoft 365
    Posts
    18

    Re: Conditional Formatting - duplicate values plus one more condition

    Thanks, it is an exercise, however i don't need to submit it to any teacher.

    Are you still going to use Countifs in your solution?

  9. #9
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,684

    Re: Conditional Formatting - duplicate values plus one more condition

    Thanks, it is an exercise, however i don't need to submit it to any teacher.
    OK
    Are you still going to use Countifs in your solution?
    No I cant see how that would help now

    having done some other things , I remembered a simple OR i used many many years ago on a system to check if the numbers where all together

    So the pattern is all the ID's are next to each other - so the cell above or the cell below would be the same .........

+ 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. [SOLVED] Conditional formatting vs. duplicate values
    By John Van Dael in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-25-2022, 05:15 AM
  2. Finding Duplicate Values using Conditional Formatting
    By mimranflmsa in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-26-2020, 03:59 PM
  3. [SOLVED] Condition Formatting duplicate values on the same row
    By JasonNeedsHelp in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2016, 09:56 PM
  4. Conditional Formatting and Duplicate Values
    By bgarner10 in forum Excel General
    Replies: 2
    Last Post: 01-01-2016, 09:18 PM
  5. [SOLVED] Help with Conditional Formatting Duplicate Values
    By alcharbonneau in forum Excel General
    Replies: 6
    Last Post: 02-26-2013, 09:09 PM
  6. Conditional formatting for duplicate values
    By kris26 in forum Excel - New Users/Basics
    Replies: 12
    Last Post: 03-21-2012, 06:51 AM
  7. Conditional Formatting- Highlight Duplicate Values
    By Christopher_1 in forum Excel General
    Replies: 4
    Last Post: 04-21-2010, 11:02 AM

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