+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting

  1. #1
    Forum Contributor
    Join Date
    08-19-2006
    MS-Off Ver
    Excel 365
    Posts
    229

    Conditional Formatting

    Hi,

    I would like to enter 1 in a cell and have conditional formatting change that cell to green colour after I enter 1 in that cell.

    I would also want the 1 to be deleted after the cell has changed to green.

    How can I do this ?

    Thanks in advance.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Conditional formatting will not erase the contents of your cell and if they did, then you would no longer be meeting the conditional formatting and it would revert back to the original.

    You could do this with VBA or you could do a workaround by using conditional formatting with the condition Cell Value is equal to 1 and then when formatting, have both the pattern (background) and the font as the same color green so that it appears as if there is nothing in the cell.

    Does that work for you or do you need VBA?

    ChemistB

  3. #3
    Forum Contributor
    Join Date
    08-19-2006
    MS-Off Ver
    Excel 365
    Posts
    229
    ChemistB,

    Thank you for your solution. This will work just fine. Thank you for your time and effort.

+ 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