+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting - can I shade a group of cells in a Row based on a value in 1 cell?

  1. #1
    Forum Contributor
    Join Date
    02-09-2011
    Location
    Perth, Australia
    MS-Off Ver
    2016
    Posts
    161

    Conditional Formatting - can I shade a group of cells in a Row based on a value in 1 cell?

    Hi Forum,

    I have a spreadsheet where I want to be able to Fill cells green in Column B to Column N for any Rows that have a value in Column L. All other Rows should remain the current colour (orange).

    I can Fill the cells in Column L using conditional formatting but am not sure if I can use Conditional Formatting on other Columns so that their Fill colour is determined by the value in Column L?

    Any suggestions?

    Thanks very much

    Dave

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: Conditional Formatting - can I shade a group of cells in a Row based on a value in 1 c

    This is possible to do

    Highlight the range you want (say, B2:N10), select CF and change "cell value is" to "formula is"

    Does L contain a formula? If not, use this formula...
    =$L2<>""
    If has a formula and the answer is text, change it to...
    =istext($L2)
    If the answer will be numeric, change it to =isnumber($L2)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    02-09-2011
    Location
    Perth, Australia
    MS-Off Ver
    2016
    Posts
    161

    Re: Conditional Formatting - can I shade a group of cells in a Row based on a value in 1 c

    This works very well, thanks so much.

    Dave

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: Conditional Formatting - can I shade a group of cells in a Row based on a value in 1 c

    Happy to help you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: 01-02-2013, 02:25 PM
  2. Replies: 2
    Last Post: 12-17-2011, 08:13 AM
  3. Using Conditional Formatting to Shade Specific Cells
    By Hypnopoison in forum Excel General
    Replies: 4
    Last Post: 04-03-2011, 11:45 AM
  4. Conditional Formatting code to shade cells
    By JimmiOO in forum Excel General
    Replies: 4
    Last Post: 03-20-2009, 04:44 AM
  5. [SOLVED] conditional formatting ... shade cell ... older than today
    By Mirsten Choiple in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2005, 10:07 AM

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