+ Reply to Thread
Results 1 to 2 of 2

Auto Fill cell with Text Based on Colour of Cell Excel 2007

  1. #1
    Registered User
    Join Date
    12-18-2008
    Location
    Sydney, Australia
    Posts
    94

    Auto Fill cell with Text Based on Colour of Cell Excel 2007

    Im currently putting together a spreadsheet that needs to track results of audits. I have set up conditional formatting that will highlight cell F a certain colour based on the results from cell E (for example if the score is between 80 and 100 cell F will change to green, if the score is between 50 and 79 it will turn amber, etc).

    I then want to be able to put text representing the colour in the same cell and have no idea how to do this, or if this can be done. So when Cell E has 85 in it, i want cell F to highlight green and have the text "green" in there, as i want to be able to do counts and graphs based on this data.

    I have attached a sample of what i mean.
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Auto Fill cell with Text Based on Colour of Cell Excel 2007

    You would not do this via Conditional Formatting - rather you would do this via formulae within the cells themselves - replicate the CF logic in the function, eg:

    F2: =IF(ISNUMBER($E2),LOOKUP(MAX(0,$E2),{0,50,80,101},{"Red","Amber","Green",""}),"")
    copied down

+ 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