+ Reply to Thread
Results 1 to 3 of 3

Color change of a cell needed based on a value

  1. #1
    Registered User
    Join Date
    06-26-2017
    Location
    India
    MS-Off Ver
    2010
    Posts
    81

    Color change of a cell needed based on a value

    Hi all,
    Hope everything is great and everyone are safe at home!!

    Could anyone please help out on one of my request as mentioned below.
    Attached is the "Sample" spreadsheet for my explanation.

    My requirement is that,
    I have entered hours on each date that I worked upon on each task (Column 'A') everyday. And in the Column 'A' (Task), whenever "Vacation" exists, when I enter any value (Like 4 or 8 etc etc), the cell color has to be changed to red with the value entered on that particular date.
    In the attached spreadsheet, I have shown manually like how it has to appear.

    Could anyone please help me out on adding a formula (Like using Conditional Formatting or any other option) such that the cell color has to be changed automatically when entered the value under Vacation Task on any of the date.

    Thanks a lot in advance for your time and efforts!!!
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Color change of a cell needed based on a value

    Try CF formula in B2:

    =AND($A2="Vacation",B2<>"")

    Apply to whole table
    Attached Files Attached Files
    Quang PT

  3. #3
    Registered User
    Join Date
    06-26-2017
    Location
    India
    MS-Off Ver
    2010
    Posts
    81

    Re: Color change of a cell needed based on a value

    Hi Bebo,
    Thanks a lot for providing me the solution within a short period of time.
    Its perfectly working as needed.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Change cell format (cell color+font color) based on color of another cell
    By Dedaluss in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-30-2017, 03:27 AM
  2. Macro to change cell text color based on darkness of cell fill color
    By cincyshirm61 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-25-2014, 12:11 PM
  3. [SOLVED] change fill color of a range of cells based on color of a cell?
    By DarMelNel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-20-2014, 04:48 PM
  4. Change Font Color Based On Adjacent Cell Color
    By Zorro9758 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2013, 02:47 PM
  5. VBA / Macro help needed to change the barchart color based on Cell Color
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-28-2012, 09:15 AM
  6. Replies: 11
    Last Post: 08-31-2010, 01:30 PM

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