+ Reply to Thread
Results 1 to 3 of 3

if(and formula trouble

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    if(and formula trouble

    Hey guys,

    Haven't been able to figure this out since yesterday. I was hoping for some help:

    A1 = Total
    B1 = Pass
    C1 = No

    What i'm trying to do is as follows:

    If A1 = 0, then the entire result is N/T
    If C1 > 1, then the entire result is U
    If C1 = 0 and A1 (or B1) > 0, then the entire result is S.

    Can't seem to figure out a good if/if(and statement for this. Any suggestions?

    Thanks!!

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: if(and formula trouble

    Untested:

    =if(a1=0,"n/t",if(c1>1,"u",if(and(c1=0,or(b1>0,a1>0,)),"s","")))
    Last edited by mehmetcik; 11-26-2013 at 08:56 AM.

  3. #3
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Re: if(and formula trouble

    Mehmetcik,

    Hey, thanks very much for the suggestion. As soon as I wrote the post I had an idea which worked:

    =IF(A1=0,"N/T",IF(AND(A1>1,B1>=0,C1>0),"U","S"))

    Thanks!!

+ 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 formula trouble!
    By caffeica in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2012, 08:00 PM
  2. 'IF' formula trouble
    By agw3 in forum Excel General
    Replies: 2
    Last Post: 08-09-2006, 11:19 AM
  3. [SOLVED] Trouble with an IF formula
    By glenn in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-27-2006, 02:35 PM
  4. [SOLVED] Trouble with formula
    By Kristajea in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-19-2005, 06:06 PM
  5. Trouble with Formula
    By GregR in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-09-2005, 12:06 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