Results 1 to 6 of 6

Glitched formula? IF statement does not work because of a formula in a reference cell

Threaded View

  1. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: Glitched formula? IF statement does not work because of a formula in a reference cell

    Hi and welcome to the forum

    Try this shorter version...
    =if(OR(A1>21,A2>3),"NO","YES")

    Also, test to see if the formula is returning exactly 21 or 3. It may be returning 2.99, formatted to look like 3 etc

    edit: or yes, text, like jonmo suggests
    Last edited by FDibbins; 11-04-2013 at 02:01 PM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Cell reference must work with formula output, not formula itself
    By Irdanwen in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-20-2012, 11:19 AM
  2. [SOLVED] Formula does not work if cell reference is not included
    By yreddic in forum Excel General
    Replies: 3
    Last Post: 08-01-2012, 05:46 PM
  3. Replies: 5
    Last Post: 10-15-2010, 11:27 AM
  4. [SOLVED] Change the work sheet name in a formula by using cell reference
    By Neel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-12-2006, 04:25 AM
  5. Need Vlookup to work with formula in reference cell
    By mikeburg in forum Excel General
    Replies: 2
    Last Post: 08-04-2005, 08:05 PM

Tags for this Thread

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