+ Reply to Thread
Results 1 to 8 of 8

Cell color change

  1. #1
    Registered User
    Join Date
    12-16-2011
    Location
    Rochester, New York
    MS-Off Ver
    Excel 2000
    Posts
    3

    Cell color change

    I am using Excel 2000 at work. (they can’t afford to yank themselves into the 21 century)
    I’m trying to change the color of a cell by using the word in another cell. Example: If the word in G4 is Warranty, then cell E4 should be Red. If the word Warranty is not present in cell E4, no color in E4.
    I put this in E4 but it didn’t work.
    =IF(G4="WARRANTY","red","NO COLOR")
    What is the secret?
    Thanks,
    Omniderb
    Last edited by omniderb; 01-03-2012 at 12:32 PM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Cell color change

    You cant just type "red" and expect it to color itself. You can use conditional formatting.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    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: Cell color change

    Hi,

    In short...Conditional formatting using the 'Formula Is option. i.e. in the conditional format for E4 enter

    Please Login or Register  to view this content.
    and format the colour as red.

    Remember that's a conditional format and NOT the formula in E4.

    Regards
    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.

  4. #4
    Registered User
    Join Date
    12-16-2011
    Location
    Rochester, New York
    MS-Off Ver
    Excel 2000
    Posts
    3

    Re: Cell color change

    Thank you for your reply. Sorry it took so long to get back to this. However, I am trying to change the color of the cell, not the color of the font in the cell.
    thanks,

  5. #5
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Cell color change

    or as an option

    Please Login or Register  to view this content.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  6. #6
    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: Cell color change

    Hi

    It's your choice in Cond-Form, what you want to chance(font or pattern, or both of these together)

    So take a look to the attachement

    Hope to helps you
    Attached Files Attached Files
    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.

  7. #7
    Registered User
    Join Date
    12-16-2011
    Location
    Rochester, New York
    MS-Off Ver
    Excel 2000
    Posts
    3

    Re: Cell color change

    Thanks for your help. The formula you suggested works great. Now I understand how to do it.

  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: Cell color change

    Glad to helped you.

    Pls, if you found your solution, mark the thread, as SOLVED.

+ 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