+ Reply to Thread
Results 1 to 4 of 4

IF Function Question

  1. #1
    Registered User
    Join Date
    02-09-2005
    Posts
    5

    IF Function Question

    I would like to write a function that makes a cell show "YES" in green or "NO" in red. I know how to make it say yes/no but can you make the cell turn a shade or make the font turn a color based on referencing a value?

    Here is my function:
    =IF(F46>F44,"FAIL",IF(F46<F44,"OK"))

  2. #2
    Forum Contributor
    Join Date
    06-23-2004
    Location
    Houston, TX
    Posts
    571

    Post

    Quote Originally Posted by cbnordy
    I would like to write a function that makes a cell show "YES" in green or "NO" in red. I know how to make it say yes/no but can you make the cell turn a shade or make the font turn a color based on referencing a value?

    Here is my function:

    =IF(F46>F44,"FAIL",IF(F46<F44,"OK"))
    I am trying to reconcile your first sentence with your formula.

    Will your cell be "green for OK" and "red for FAIL" from your formula?
    BenjieLop
    Houston, TX

  3. #3
    Registered User
    Join Date
    02-09-2005
    Posts
    5
    My cell is referencing two different value that do not have functions in them:
    F46: =C21
    F44: =C42

  4. #4
    Registered User
    Join Date
    02-09-2005
    Posts
    5
    I figured it out due to the advice from JulieD on conditional formatting. Thanks JulieD and BenjieLop

+ 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