+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting using formulas

Hybrid View

  1. #1
    Registered User
    Join Date
    05-26-2006
    Posts
    21

    Conditional formatting using formulas

    I am havings ome difficulty getting to format a particular rows based on the values present in a particular cell in that row.

    I want the background color of Row N (N=1...2..3..) to become yellow if the value in cell $F$N , F being the column , is less than 6 but greater than 3.

    Like for example if $B$6 is 4.5 , then the entire row of 6 should have a background color of yellow.

    Can anybody please help ?

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Select the rows and then try this formula in conditional formatting

    =AND($N1>3,$N3<6)

    or

    =IF(AND($N1>3,$N3<6),TRUE,FALSE)



    VBA Noob

  3. #3
    Registered User
    Join Date
    05-26-2006
    Posts
    21
    Thanks VBA noob.Can you clarify what $N1 and $N3 are ? Instead of them can you give actual cell values ?

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi Sorry,

    Totally miss understood the question.

    Try this using Conditional formatting

    =OR($A1<6)*AND($A1>3)

    VBA Noon

+ 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