+ Reply to Thread
Results 1 to 10 of 10

Fomatting cells (background colour)depending on content of another cell

  1. #1
    Registered User
    Join Date
    05-07-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2010
    Posts
    33

    Fomatting cells (background colour)depending on content of another cell

    I have used Data Validation to select one of 6 choices from a list, is there any way to automatically change the Fill Colour of this cell and the 5 or 6 cells immediately below.
    I.e. depending on what is selected from the drop menu defines the Fill colour below

    Thanks
    Last edited by Apache_sim; 07-04-2013 at 07:54 AM. Reason: Solved

  2. #2
    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: Fomatting cells (background colour)depending on content of another cell

    You don't need VBA for this. Use Conditional Formatting.
    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.

  3. #3
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Fomatting cells (background colour)depending on content of another cell

    hi
    you could use conditional formatting depending on the cell's value eg if the cell is A5, select conditional formatting > new rule > use a frmula to determine ....

    type this as the formula
    =A5=1

    then select th format you want when the value "1" is returned. Repeat for the other values

  4. #4
    Registered User
    Join Date
    05-07-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2010
    Posts
    33

    Re: Fomatting cells (background colour)depending on content of another cell

    Not sure that Conditional Formatting will work for this, as there will be no range for comparison.
    I want to force the Fill colour to change in the cells below regardless of content (at this point in time they will be empty), the content will be added by other text inputs later.

  5. #5
    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: Fomatting cells (background colour)depending on content of another cell

    I believe that will work. Upload a small sample workbook for testing..

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  6. #6
    Registered User
    Join Date
    05-07-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2010
    Posts
    33

    Re: Fomatting cells (background colour)depending on content of another cell

    The idea is to Colour fill the cells immediately below the sortie title no matter what teh content is.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-04-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Fomatting cells (background colour)depending on content of another cell

    Quote Originally Posted by Apache_sim View Post
    The idea is to Colour fill the cells immediately below the sortie title no matter what teh content is.
    Hi, have included the conditional formatting the attached excel.., as others said this is standard excel feature and pretty useful!

    Drop Menu Fill.xlsx

  8. #8
    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: Fomatting cells (background colour)depending on content of another cell

    Like this?
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    05-07-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2010
    Posts
    33

    Re: Fomatting cells (background colour)depending on content of another cell

    That is great thanks... just couldn't see it.

    Kind regards

  10. #10
    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: Fomatting cells (background colour)depending on content of another cell

    ........................

+ 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