+ Reply to Thread
Results 1 to 8 of 8

How to fill a certain row cell

  1. #1
    Registered User
    Join Date
    10-17-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    6

    Exclamation How to fill a certain row cell

    I would like to have my rows be filled when a certain word contain in a cell.

    For example, in D3, it has a value true then the row under D3 be filled with color green. If none, its just blank.

    TIA,

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,685

    Re: How to fill a certain row cell

    So just to be clear, if D3 contains "true" you want the entire row 4 to be green? And if so, can D4 also contain True which would make row 5 green?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to fill a certain row cell

    In Conditional Formatting rules, use this ..formula..

    =d3=true

    Fix the range according your needs..
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    10-17-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: How to fill a certain row cell

    Quote Originally Posted by Sambo kid View Post
    So just to be clear, if D3 contains "true" you want the entire row 4 to be green? And if so, can D4 also contain True which would make row 5 green?
    Yes, but i would like to when D3 contains "true" the entire row 3 be green/any color, then when D4 contains "true" then entire row 4 be green then so on. Then when contains none, then it will just be plain. :D

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,685

    Re: How to fill a certain row cell

    What Fotis1991 wrote looks like the way to go.
    Working on it using conditional formatting seems like the only way to go.
    I've been doing it row by row and have it working but I'm going off your second post. Using conditional formatting I put true or false in col D. Then go to conditional formatting and use a fromula to determine which cells to format, click on the formula bar, =$D7=True, applies to =$7:$7 and ok. Colors the whole row as green.

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,685

    Re: How to fill a certain row cell

    Colors the whole row as green. (Provided when you're under the "Format Cells" section you click on the Fill tab and select your colors.)

  7. #7
    Registered User
    Join Date
    10-17-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: How to fill a certain row cell

    I did get your ideas and tried it but its not what I meant about my post above :D it only colors single row and I have to apply the formula in each row...

    Here's what I want to achieve, I attached an excel file for you guys to check and advise me how am I going to do this :D thanks guys!
    Attached Files Attached Files

  8. #8
    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,048

    Re: How to fill a certain row cell

    1. highlight the range you want to apply the conditional formatting to (A2:G12)
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter =$F2=TRUE format fill the color you want
    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

+ 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