+ Reply to Thread
Results 1 to 6 of 6

Conditional Formatting - Duplicates within Rows and Text Matches in a Table

  1. #1
    Registered User
    Join Date
    01-07-2020
    Location
    Sydney, Australia
    MS-Off Ver
    Microsoft 365
    Posts
    9

    Conditional Formatting - Duplicates within Rows and Text Matches in a Table

    Hi Excel forum users,

    I am creating a monthly schedule and trying to employ conditional formatting to improve the experience when the user is populating the schedule. A sample version of the spreadsheet with PII removed is attached.

    There are 2 conditional formatting rules I am trying to configure but I am not succeeding at the moment. They are:
    1. 1. Within the table in the September 2021 sheet, highlight all text matches based on the value of G2. However, if G2 is blank, no conditional formatting is applied. G2 has data validation applied based on a named range. The purpose: to visualise identify the number of times the individual has received an assignment in that month.
    2. 2. Within the table in the September 2021 sheet, highlight any cells which contain duplicates within a row only. The rule must not look for duplicates within a column. A person can only have 1 assignment per day.


    Could I please have some assistance in formulating a solution for these 2 challenges I am facing? Please feel free to adjust the schedule provided and repost a copy with the solutions.

    Many thanks,
    Tim
    Attached Files Attached Files

  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,737

    Re: Conditional Formatting - Duplicates within Rows and Text Matches in a Table

    1st Rule
    =AND($G$2<>"", $G$2=B2)
    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
    01-07-2020
    Location
    Sydney, Australia
    MS-Off Ver
    Microsoft 365
    Posts
    9

    Re: Conditional Formatting - Duplicates within Rows and Text Matches in a Table

    Hi Wayne,

    Thanks for the quick reply. I had tried something similar but my syntax was wrong. Thanks for the providing me with a solution.

    Tim

  4. #4
    Registered User
    Join Date
    01-07-2020
    Location
    Sydney, Australia
    MS-Off Ver
    Microsoft 365
    Posts
    9

    Re: Conditional Formatting - Duplicates within Rows and Text Matches in a Table

    The formula to use in conditional formatting of the 2nd scenario is below:

    Please Login or Register  to view this content.

    Hope this benefits others like myself.

  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,737

    Re: Conditional Formatting - Duplicates within Rows and Text Matches in a Table

    sorry , i got called away, so did not finish and just replied to where I had got to

    Now includes 2nd part , as posted by timjo-b
    Attached Files Attached Files
    Last edited by etaf; 08-24-2021 at 07:28 AM.

  6. #6
    Registered User
    Join Date
    01-07-2020
    Location
    Sydney, Australia
    MS-Off Ver
    Microsoft 365
    Posts
    9

    Re: Conditional Formatting - Duplicates within Rows and Text Matches in a Table

    Thanks etaf for the sample file with the conditional formatting included, much appreciated.
    Many thanks,
    Tim

+ 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-24-2019, 06:44 AM
  2. [SOLVED] Conditional Formatting of Rows. Too many duplicates!
    By bjoanmark in forum Excel General
    Replies: 2
    Last Post: 05-03-2018, 07:52 AM
  3. Replies: 1
    Last Post: 12-08-2016, 03:14 PM
  4. Conditional Formatting rows in Pivot Table HELP!
    By kfryar in forum Excel General
    Replies: 1
    Last Post: 03-26-2014, 01:26 AM
  5. [SOLVED] Conditional Formatting of Table Rows based on value in a Column
    By Dominicus in forum Excel General
    Replies: 2
    Last Post: 01-07-2014, 11:14 AM
  6. Conditional Formatting - Highlight All Rows in Table with Errors in Cells
    By jgray in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-18-2013, 03:34 PM
  7. formatting duplicates, triplicates and almost matches
    By GRichner in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2009, 06:45 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