+ Reply to Thread
Results 1 to 4 of 4

Nested If Statements using negative numbers

  1. #1
    Forum Contributor
    Join Date
    04-08-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    101

    Nested If Statements using negative numbers

    I'm trying to create a formula , possible an if statement , but there may be a better way to accomplish what I need, I attached the excel sheet showing the legend, with the explanation, thanks to anyone who is willing to take a look, LaDonna
    See attached. Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Nested If Statements using negative numbers

    This should satisfy your sample workbook. If you format the cell in question (F9 in the sample) as a percentage, then you'll need to modify the numbers of my formula to reflect that excel is now working with decimals, but the structure of the formula below should accomplish what you have in mind. Use conditional formatting if you want the colors to change.

    =IF(ABS(F9)>=5,"No Good",IF(ABS(F9)<3,"Passing","Good"))

  3. #3
    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,315

    Re: Nested If Statements using negative numbers

    Create table as below: in L6:M8 in the example below

    0.0 Passing
    3.0 Good
    5.0 No Good

    in G9

    =VLOOKUP(ABS($F$9),$L$6:$M$8,2,1)

  4. #4
    Forum Contributor
    Join Date
    04-08-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    101

    Re: Nested If Statements using negative numbers

    THANK YOU ! both options worked great,

+ 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. If Statements and Negative Numbers
    By NatalieEC in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-14-2015, 02:20 PM
  2. Nested IF Statements Using Just Text - No Numbers
    By salhakim in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-01-2015, 05:43 PM
  3. If Statements to calculate negative numbers
    By HHR in forum Excel General
    Replies: 4
    Last Post: 02-19-2011, 05:14 AM
  4. Multiple nested IF statements and AND statements
    By TonyGetz in forum Excel General
    Replies: 2
    Last Post: 12-14-2010, 03:07 AM
  5. Nested If statements / logic statements
    By Brainless_09 in forum Excel General
    Replies: 3
    Last Post: 06-17-2009, 02:59 PM
  6. Replies: 12
    Last Post: 05-15-2009, 08:38 AM
  7. Replies: 1
    Last Post: 11-20-2008, 01:52 AM

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