+ Reply to Thread
Results 1 to 10 of 10

change row color after filling one cell

  1. #1
    Registered User
    Join Date
    09-05-2010
    Location
    italy
    MS-Off Ver
    Excel 2018
    Posts
    63

    change row color after filling one cell

    Hi, I attach a file to better describe what I need.

    Column A: either one of the two following values, "P" (= pending) or "C" (=canceled)
    Example:

    If A1=P, cell A1:G1 will stay White.
    If A1=C, cell A1:G1 will change color to Green.

    I hope I could explain what I need.
    Don't hesitate to ask me anything is not clear.

    Thank you,

    Carlo
    Attached Files Attached Files
    Last edited by kghisla; 09-26-2010 at 06:50 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: change row color after filling one cell

    Hi,

    Have you checked out the Conditional Formatting functionality in the Style section of the Home menu tab?

    Rgds
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    09-05-2010
    Location
    italy
    MS-Off Ver
    Excel 2018
    Posts
    63

    Re: change row color after filling one cell

    Hello Richard,

    thank you for your help. In reply to your suggestion, I know how to change color manually, but I would rather do it automatically.

    Is there any formula that does change a cell color in the way I described?

    thank you again.

    Carlo

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: change row color after filling one cell

    Like Richard suggested - use Conditional Formatting. That's what you use to automatically format based on whatever criteria you set up.

  5. #5
    Registered User
    Join Date
    09-22-2010
    Location
    Excel World
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: change row color after filling one cell

    in excel 2003, how can I do the same?

    Wht formula I should put for CF? plz help!

  6. #6
    Registered User
    Join Date
    09-05-2010
    Location
    italy
    MS-Off Ver
    Excel 2018
    Posts
    63

    Re: change row color after filling one cell

    I checked Conditional Formatting as suggested.

    Now I know how to change the color of one cell, according to same cell condition, but not a series of cells.

    in my example
    if CellA1= "C"
    I would like Cell A1:D1 with green color, not just cell A1.

    The value "C" will only be in Cell A1.

    Any further suggestion would be greatly appreciated.

    C.

  7. #7
    Registered User
    Join Date
    09-05-2010
    Location
    italy
    MS-Off Ver
    Excel 2018
    Posts
    63

    Re: change row color after filling one cell

    ok, I made it :
    1- select the row i need to color
    2- go to Conditional formatting
    3- formula is: =$A1="c"
    4- clic on format, then select the green color pattern

    thanks to Richard and Cutter

  8. #8
    Forum Contributor
    Join Date
    08-12-2010
    Location
    Excel World
    MS-Off Ver
    Excel 2013, 2019 & O365
    Posts
    214

    Re: change row color after filling one cell

    Tht's CooL!! good job!

    ..but how can you apply CF with the 'IF' function formula?

    Plz check this : http://www.excelforum.com/showthread...99#post2389199

  9. #9
    Registered User
    Join Date
    09-05-2010
    Location
    italy
    MS-Off Ver
    Excel 2018
    Posts
    63

    Re: change row color after filling one cell

    SunOffice,
    I am sorry I don't have Excel 2003, and I am not an expert.
    If it can be of any help just google "conditional formatting excel 2003".
    Hopefully you'll find some help, as I did for myself.

    Good luck!

    Carlo

  10. #10
    Forum Contributor
    Join Date
    08-12-2010
    Location
    Excel World
    MS-Off Ver
    Excel 2013, 2019 & O365
    Posts
    214

    Re: change row color after filling one cell


+ 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