+ Reply to Thread
Results 1 to 6 of 6

conditional formatting row based on text

  1. #1
    Registered User
    Join Date
    07-01-2010
    Location
    adelaide
    MS-Off Ver
    Excel 2003
    Posts
    86

    conditional formatting row based on text

    i need to change row colour based on text.

    eg.

    if B1 has "entered" then turn B1 through to BD1 green.


    I can only work out how to change cell not row.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: conditional formatting row based on text

    Select the whole range B1:BD1 and use this formula in conditional formatting

    =$B1="Entered"

    Note the $
    Audere est facere

  3. #3
    Registered User
    Join Date
    07-01-2010
    Location
    adelaide
    MS-Off Ver
    Excel 2003
    Posts
    86

    Re: conditional formatting row based on text

    where do i put this?

    i click conditional formatting then which option do i choose?

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: conditional formatting row based on text

    In Excel 2007 select "New Rule", then "Use a formula to determine which cells to format" and then paste or type that formula in the box, then select required formatting.

    Make sure that the formatting applies to the whole range. If you select the range first then it will by default......

  5. #5
    Registered User
    Join Date
    07-01-2010
    Location
    adelaide
    MS-Off Ver
    Excel 2003
    Posts
    86

    Re: conditional formatting row based on text

    Thank you thats great ....

    one more thing how would i write the same but instead of "entered" it would highlight row if there is anything starting with "CR"?

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: conditional formatting row based on text

    You can use LEFT function for that, i.e.

    =LEFT($B1,2)="CR"

    That's not case-sensitive, if you want it to be then there are other approaches......

+ 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