+ Reply to Thread
Results 1 to 6 of 6

Format a cell based on value in another cell

  1. #1
    Registered User
    Join Date
    06-10-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    7

    Format a cell based on value in another cell

    I am have been trying to figure out how to apply contitional formatting on one cell ONLY when another cell is not empty. So, if A1 contains data, then apply a red border around F1... If A1 is blank, then DO NOT apply any border to F1

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

    Re: Conditional Formatting Issue

    Select F1 and invoke CF... then pick formula is from drop down and enter formula:

    =A1<>""


    then format.
    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.

  3. #3
    Registered User
    Join Date
    06-10-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Format a cell based on value in another cell

    I am so sorry, I left out a piece of information. A second condition that needs meeting before the border is applied. F1 also needs to be blank. So, if I enter data into A1, then F1 receives a border. But then once data is entered into F1, the border should go away.

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

    Re: Format a cell based on value in another cell

    Replace the formula I gave with:

    =AND(A1<>"",F1="")

  5. #5
    Registered User
    Join Date
    03-25-2011
    Location
    Wisconsin
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Format a cell based on value in another cell

    I searched and read, and searched and read, and finally the answer I needed was in your reply to the previous post (a year and a half ago) - thanks for helping me out, too!

  6. #6
    Registered User
    Join Date
    03-25-2011
    Location
    Wisconsin
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Format a cell based on value in another cell

    I searched and read, and searched and read, and finally the answer I needed was in your reply to the previous post (a year and a half ago) - thanks for helping me out, too!

    HOW DO I DELETE A POST FROM THIS FORUM?
    Last edited by h2count; 01-26-2012 at 06:17 PM. Reason: duplicate post

+ 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