+ Reply to Thread
Results 1 to 6 of 6

Formula "either, or" With an overriding statement

  1. #1
    Registered User
    Join Date
    12-07-2016
    Location
    Texas
    MS-Off Ver
    2010,2013
    Posts
    3

    Formula "either, or" With an overriding statement

    Hello,

    I'm having a bit of trouble with an excel spread sheet. I'm trying to write three conditions into a single cell. I need to have the cell auto population the three statements, "OPEN" "CLOSED" and "N/A"

    The issue is I need a formula that pulls data from a cell (for example A1) that if =0, then it needs to say "N/A", or if > 0 it needs to say "OPEN" and an additional overriding statement from (for example A2) that if it is greater than >0, then the cell needs to say "CLOSED".

    Is this possible?

  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: Formula "either, or" With an overriding statement

    Maybe this...

    =IF(A2>0,"Closed",IF(A1=0,"N/A",IF(A1>0,"Open","")))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    12-07-2016
    Location
    Texas
    MS-Off Ver
    2010,2013
    Posts
    3

    Re: Formula "either, or" With an overriding statement

    HOLY $#&*! That did it! I'm currently in a work event, and was trying to figure this out. I am truly in your debt!

  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: Formula "either, or" With an overriding statement

    You're welcome. Thanks for the feedback!

  5. #5
    Registered User
    Join Date
    12-07-2016
    Location
    Texas
    MS-Off Ver
    2010,2013
    Posts
    3

    Re: Formula "either, or" With an overriding statement

    i hate to ask... but I have a similar issue on the same spread sheet where I need 3 statements. I tried to figure it out from the formula you gave me but as I've been working for the past 9 hours straight. My brain just isn't up to snuff lol.

    Currently I have the below formula, but I need to add a "N/A" if there is a "0" in "G125" I can't remember if this is an "IFS" formula or if need to place an "OR" in the formula, or maybe I'm wrong all together. lol

    =IF(TODAY()<=G125,"YES", "NO")

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: Formula "either, or" With an overriding statement

    try

    =IF(G125=0,"N/A",IF(TODAY()<=G125,"YES", "NO"))

+ 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 Statement Evaluates as "TRUE" but Returns "FALSE" Value (Excel 2007)
    By Simcik in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-11-2014, 12:43 PM
  2. Help with "Move" Formula Dependant on "IF" Statement
    By financeanalyst in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-15-2014, 03:29 PM
  3. [SOLVED] Combine "=IF" and "=HOUR" statement for cell formula
    By chriswhite1982 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-19-2013, 02:42 PM
  4. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  5. Turn this "if" "or" statement into an excel formula
    By rmichaels55 in forum Excel General
    Replies: 6
    Last Post: 04-23-2009, 10:23 AM
  6. Replies: 3
    Last Post: 12-14-2006, 01:36 PM
  7. [SOLVED] If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ...
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2006, 08:25 AM

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