+ Reply to Thread
Results 1 to 5 of 5

Bold text in rows (Conditional formatting XL2007)

  1. #1
    Registered User
    Join Date
    06-02-2010
    Location
    excel
    MS-Off Ver
    Excel 2007
    Posts
    2

    Post Bold text in rows (Conditional formatting XL2007)

    Hi All
    Can anyone advise me of a way to bold selected rows from a range if one of the cells in the rows equals a certain value.e.g

    A B C D E
    1 X X X Y X
    2 X X X X X
    3 X X X Y X

    I select cells A1-E3 and if D1 = "Y" (also when D3 = "Y") then bold the whole text in rows 1 and 3 respectively.

    Thanks!

    Dor

  2. #2
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Bold text in rows (Conditional formatting XL2007)

    Try this formula in conditional formatting
    =AND($D1="Y",$D3="Y")
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Bold text in rows (Conditional formatting XL2007)

    After selecting A1:E3 go Home|Conditional Formatting, New Rule

    Select use formula to determine which cells to format

    and then type

    =$D1="Y"

    Then click Format and choose from Font tab
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    06-02-2010
    Location
    excel
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Bold text in rows (Conditional formatting XL2007)

    Have tried the formulae and it works. Thanks!

    What if i do not restrict the look-up array to be only 1 column, i.e. if Columns D or E contains "Y"?

    I tried this: =$D1:$E1="Y" but it doesn't seem to work.....

    Thanks,
    Dor

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Bold text in rows (Conditional formatting XL2007)

    You'd have to enter something like this:

    =OR($D1="Y",$E1="Y")

    or

    =COUNTIF($D1:$E1,"Y")>0 (this is more appropriate if you will have several contiguous checks of the same thing).

+ 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