+ Reply to Thread
Results 1 to 5 of 5

IF value <=0, then print FAIL, otherwise print PASS

  1. #1
    Registered User
    Join Date
    10-19-2011
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    61

    IF value <=0, then print FAIL, otherwise print PASS

    Greetings,

    Am frustrated and though I'd ask the Forum.

    Effectively, I would like to view the value - for example - of Accounting cell b10 and, if value is <= 0 print FAIL in cell b11, otherwise, print PASS.

    Can anyone help? Thanks

    Mike

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: IF value <=0, then print FAIL, otherwise print PASS

    In B11 type

    = IF(B10 <=0,"FAIL","PASS")
    Martin

  3. #3
    Registered User
    Join Date
    10-19-2011
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    61

    Re: IF value <=0, then print FAIL, otherwise print PASS

    Thank You Martin,

    What would the syntax be if I wanted to print PASS in cell B13 (instead of B11)?

    Mike

  4. #4
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: IF value <=0, then print FAIL, otherwise print PASS

    Same syntax - just put the formula in cell B13 instead.

  5. #5
    Registered User
    Join Date
    10-19-2011
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    61

    Re: IF value <=0, then print FAIL, otherwise print PASS

    Thanks again Martin

+ 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. Pass or fail?
    By anri.scooter in forum Excel General
    Replies: 4
    Last Post: 07-21-2015, 03:38 AM
  2. Disabled print toolbar and menu but Print Macro button cannot print also...
    By zein97 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-22-2014, 01:42 PM
  3. Set print area of selected range then print preview if ok then print the document!
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2014, 07:10 AM
  4. [SOLVED] Need a formula for pass/fail based on no. of Y answers but automatically fail if 3a is N
    By Researcher1111 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-15-2013, 10:20 PM
  5. [SOLVED] Pass And Fail
    By thong127 in forum Excel General
    Replies: 9
    Last Post: 06-11-2013, 05:17 PM
  6. VBA to set print range, open box asking for print qty, print, then redefine print area
    By galvinpaddy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-11-2012, 06:43 PM
  7. pass fail
    By Tricia in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 01-20-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