+ Reply to Thread
Results 1 to 4 of 4

IF function using cell colour as logical test

  1. #1
    Registered User
    Join Date
    03-23-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    10

    IF function using cell colour as logical test

    Hello

    I can't figure this out so hope someone can help

    Basically I have a column (lets call it column A) whereby I manually fill the cells green once I have received some documents, another column which has a numeric value in it (column B) and I want to create a third column which basically just copies column B but ONLY if column A is filled with a colour (actual colour doesn't matter cause I only use green)

    I tried using the IF function but I don't know how to use cell colour as the logical test

    Any help would be great

    Thanks

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: IF function using cell colour as logical test

    You should avoid basing calculations on cell formats.

    Changing a cell format does not trigger a calculation and any formulas based on the cell format will not update automatically.

    Maybe do something like: use another column and enter a X to mark the cells of interest. Then a simple IF function testing for X can be used to do what you want.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    03-23-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: IF function using cell colour as logical test

    Thank you for the reply

    I'll do it that way, wanted to avoid adding anymore columns but needs must

    Thanks for your help

    Matt

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: IF function using cell colour as logical test

    Good deal. Thanks for the feedback!

+ 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. [SOLVED] IF function logical test is blank
    By 2knk in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-15-2013, 11:39 PM
  2. Replies: 2
    Last Post: 12-07-2012, 03:57 AM
  3. IF function - Logical test
    By TomBP in forum Excel General
    Replies: 6
    Last Post: 04-28-2010, 06:07 AM
  4. Logical test function problem
    By VwmanTom in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-10-2008, 07:19 PM
  5. Logical test function problem
    By VwmanTom in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-09-2008, 10:58 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