+ Reply to Thread
Results 1 to 6 of 6

Formula to change a range of cell colours twice depending on 2 variables

  1. #1
    Registered User
    Join Date
    02-26-2009
    Location
    Essex, England
    MS-Off Ver
    Excel 2000
    Posts
    3

    Formula to change a range of cell colours twice depending on 2 variables

    Hi everyone,

    Firstly sorry for being probably rather naive with excel but I have a basic knowledge and have been asked to create a spreadsheet for work. Got the basics done but need to create some formulas so the colours change.

    I basically need all the cells from A to F (need to go down infinitely) to start off red. Then when the cells from G to I are completed all the cells from A to I will turn orange then I have 5 more columns (J to N) that have yes and no data validation in them and when they are completed I want all the cells from A to N to automatically turn green. this is a continuous spreadsheet that will be used daily so the formula has to carry on downwards unlimited.

    Sorry again for my lack of knowledge but when i learn something it stays in this head of mine so always happy to learn more.

    If you have any questions just let me know.

    Thanks in advance,

    Jamie
    Last edited by VBA Noob; 02-26-2009 at 12:19 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Formula to change a range of cell colours twice depending on 2 variables

    You cannot change colours with formulas, you can use Conditional formatting

    http://www.excel-it.com/excel_condit...formatting.htm
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    02-26-2009
    Location
    Essex, England
    MS-Off Ver
    Excel 2000
    Posts
    3

    Re: Formula to change a range of cell colours twice depending on 2 variables

    Hi RoyUK,

    Thanks for the quick and very helpful reply. I've been using that to change single cells but could not figure how to do it for multiple ones.

    Will have a good read of that now.

    Thanks again.

    Jamie

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Formula to change a range of cell colours twice depending on 2 variables

    post back for further help

  5. #5
    Registered User
    Join Date
    02-26-2009
    Location
    Essex, England
    MS-Off Ver
    Excel 2000
    Posts
    3

    Re: Formula to change a range of cell colours twice depending on 2 variables

    Hi,

    Sorry to be a pain.

    I have one column that we put a reference in that I want to make this change to orange when we enter text into it. The reference is normally 5-7 digits and consists of letters and numbers.

    I have tried everything I can think of in conditional formatting and also googled it but can't find any help.

    Thanks in advance.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formula to change a range of cell colours twice depending on 2 variables

    Try:

    Cell Value is >> Not Equal To >> enter formula: =""
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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