+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Extend conditional formatting

  1. #1
    Registered User
    Join Date
    05-11-2011
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    3

    Question Extend conditional formatting

    Hi!
    I have a problem that I'm sure Excel can help me with but Ii don't know how!
    I want to do conditional formatting on a large table with results from a metal analysis on soil. There are several different samples, and several different metals that I wnt to compare to the appropriate guide line values.
    No problem doing this for one row, I simply choose all cells with analysis results, choose Conditional formatting -> highlight cells rules -> greater than, and choose the cell with the guideline value to get all cells with values higher than the guide line to go red.

    But if I want to extend this formatting to the other 20 rows??
    I could do the same thing all over again for every row, but that is very time consuming, is there any way to tell Excel to do the same kind of formatting (but using the guide line value of the new row) in every row?

    I really hope you understand my problem and that some of you will find the time to help me with this!

    Best regards,
    Almson

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,242

    Re: Extend conditional formatting

    I'm having some difficulty imagining what your data looks like and where the guide values are.

    If you post a sample workbook, it should be very straightforward to work out a solution.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    05-11-2011
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Extend conditional formatting

    Good idea, I've attached a workbook to this message, where I've done cond. formatting on the "As" row. My guide line values are the two colored columns to the far right.
    Thanks a lot!
    /Almson
    Attached Files Attached Files

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,242

    Re: Extend conditional formatting

    Change this: =$B$4:$CU$4 to this: =$B4:$CU4 and change: $CW$4 to $CW4 for the first condition and $CV$4 to $CV4 for the second condition.

    You can then extend the formatting to all the rows.

    Regards

  5. #5
    Registered User
    Join Date
    05-11-2011
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Extend conditional formatting

    Super! Thanks a lot for your help!
    That will save me so much time, I work a lot with these kind of problems!

    Perhaps you can help me with another formatting problem?
    As you can see in my worksheet I have some values that are e.g. "<0.1" which means they are lower than the detection limit at the laboratory. When I do cond. formatting they go red, i.e. they look like they are larger than the guide line value when they in fact are a lot lower. Can I do something to get rid of this too? (What I do now is that I clear the formatting rule from those cells, but that's also time consuming...)

    Thanks again!

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,242

    Re: Extend conditional formatting

    For the red, try:

    =AND(LEFT(B3,1)<>"<",B3>=$CW3)

    applied to cells =$B$3:$CU$22


    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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