+ Reply to Thread
Results 1 to 8 of 8

Conditional formating of rows when partial word match in E and non-blank in P

  1. #1
    Registered User
    Join Date
    01-31-2018
    Location
    Bathurst, NB
    MS-Off Ver
    2010
    Posts
    37

    Conditional formating of rows when partial word match in E and non-blank in P

    This might not be possible, I have tried many, many AND, SEARCH, COUNTIFS, etc possibilities...

    The result is easy to explain, but doesn't seem very easy to accomplish.

    I would like to use conditional formatting, applied on entire row, when the first word in column E is "Initial" and there is a date, any date (or non-blank) in column P.

    Any ideas or hints on how to accomplish this? Might some sort of combination of functions maybe...

    Thanks in advance!

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,211

    Re: Conditional formating of rows when partial word match in E and non-blank in P

    Try

    in CF

    =AND(LEFT($E3,8)="Initial ",$P3<>"")

    So selects on "Initialx" where x=blank

    Set Applies to:

    =$3:$100

    I have assumed first row is 3 and last 100.

  3. #3
    Registered User
    Join Date
    01-31-2018
    Location
    Bathurst, NB
    MS-Off Ver
    2010
    Posts
    37

    Re: Conditional formating of rows when partial word match in E and non-blank in P

    Thanks for the suggestion, but it doesn't seem to do anything.

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Conditional formating of rows when partial word match in E and non-blank in P

    Attach a sample workbook.

    Make sure there is just enough data to demonstrate your need.

    Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,211

    Re: Conditional formating of rows when partial word match in E and non-blank in P

    See attached
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    01-31-2018
    Location
    Bathurst, NB
    MS-Off Ver
    2010
    Posts
    37

    Re: Conditional formating of rows when partial word match in E and non-blank in P

    Thanks again, I see it does what I'm looking for in your sample but it won't work on my worksheet for some reason. Could it be because the date is populated via VLOOKUP?

    i.e. =IF($A3651="","",IFERROR(VLOOKUP($A3651,Sheet1!$A$2:$F$9999,3,0),IFERROR(VLOOKUP($A3651,Sheet2!$B$3:$H$996,7,0),IFERROR(VLOOKUP($A3651,Sheet3!$B$3:$H$993,5,0),""))))

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,211

    Re: Conditional formating of rows when partial word match in E and non-blank in P

    Which cell is VLOOKUP in ? P ?

    As requested earlier, post a sample file.

    VLOOKUP worked OK for me.

  8. #8
    Registered User
    Join Date
    01-31-2018
    Location
    Bathurst, NB
    MS-Off Ver
    2010
    Posts
    37

    Re: Conditional formating of rows when partial word match in E and non-blank in P

    Figured it out, thanks. Did not work because in the source, "Initial" was not followed by a space, but actually "Initials-XXX". I also figured the 8 in the formula refers to the looked up word length including the space after.

    Thanks again!

+ 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] Nesting if statements when a partial word match is found
    By knakw00 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2018, 03:27 PM
  2. Match partial word instead of all or nothing
    By Geralt86 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-02-2017, 01:58 PM
  3. VBA: Find all sentences with a given word. Partial match preferred with regex.
    By first_jaguar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-26-2017, 02:26 PM
  4. Replies: 4
    Last Post: 01-23-2014, 10:14 AM
  5. Replies: 0
    Last Post: 09-21-2013, 09:03 PM
  6. Copy column based on partial word match in first row and paste into existing workbook
    By David Harris 1987 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-11-2013, 01:02 PM
  7. Replies: 4
    Last Post: 04-26-2011, 04:38 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