+ Reply to Thread
Results 1 to 2 of 2

Conditional formating based on text in 2 columns (but only partial text!)

  1. #1
    Forum Contributor
    Join Date
    08-26-2011
    Location
    Bristol, England
    MS-Off Ver
    Excel 2007
    Posts
    149

    Conditional formating based on text in 2 columns (but only partial text!)

    Hi All,

    I need to conditional format a whole row of data if Cell A contains/starts with A-BC and Cell B contains/starts with B-CD. If these (both) are not present then leave unhighlighted.

    I have tried the formula's below:

    =AND(A1="*A-BC*",B1="*B-CD*")
    =AND(A1="A-BC",B1="B-CD")
    =AND(A1=A-BC,B1=B-CD)

    Of which none work (which you've probably gathered!)

    any suggestions would be massively welcome.

    Cheers

    Donna
    Last edited by Icehockey44; 12-19-2012 at 07:05 AM. Reason: solved

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Conditional formating based on text in 2 columns (but only partial text!)

    HI Donna,

    use below formula in conditional formatting :-

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See attached:- CF - entire row.xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

+ 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