+ Reply to Thread
Results 1 to 15 of 15

Nested If function with a and function

  1. #1
    Registered User
    Join Date
    06-04-2018
    Location
    Virginia
    MS-Off Ver
    2016
    Posts
    7

    Nested If function with a and function

    Hello all,

    Running into a problem with this nested if. For some excel stopped using color coded parentheses but Im pretty sure I used the right amount but its hard to keep track. Anyways any help is appreciated Thanks!!!Screen Shot 2018-06-05 at 12.39.56 PM.pngScreen Shot 2018-06-05 at 12.39.31 PM.png

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Nested If function with a and function

    Attach the workbook, not a picture of it, please.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    06-04-2018
    Location
    Virginia
    MS-Off Ver
    2016
    Posts
    7

    Re: Nested If function with a and function

    Sorry. Heres the entire file ExcelHelp.xlsx

  4. #4
    Registered User
    Join Date
    06-04-2018
    Location
    Virginia
    MS-Off Ver
    2016
    Posts
    7

    Re: Nested If function with a and function

    And I added the comma at the beginning of the formula just to save file

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Nested If function with a and function

    what is it you are trying to do with this portion here?
    '=IF(AND(B2>=(D2-E2),B2<=(D2+E2)),"Steady",IF(AND(B2>(D2+E2),B2<=(D2+2(E2))),"Growing",IF(AND(B2<(D2-E2),B2>=(D2-2(E2))),"Shrinking",IF(B2>(D2+2(E2),"Growing Extremely,IF(B2<(D2-2(E2)),"Shrinking Extremely")))))
    is it supposed to be 2 times E2? or 2 plus E2?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  6. #6
    Registered User
    Join Date
    06-04-2018
    Location
    Virginia
    MS-Off Ver
    2016
    Posts
    7

    Re: Nested If function with a and function

    Its supposed to be a statistical analysis, so it was supposed to be the mean plus 2 times the standard deviation. So it should be 2 times E2

  7. #7
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Nested If function with a and function

    well a couple problems I saw were, one was that part needed to be 2*E2, the next, you missed a quote at the end of "Growing Extremely", and another is that you have the formula posted in cell E2 and you have E2 as part of the formula.
    this may be closer to what you need but it will return 0 if it is left in cell E2
    =IF(AND(B2>=(D2-E2),B2<=(D2+E2)),"Steady",IF(AND(B2>(D2+E2),B2<=(D2+(2*E2))),"Growing",IF(AND(B2<(D2-E2),B2>=(D2-(2*E2))),"Shrinking",IF(B2>(D2+(2*E2)),"Growing Extremely",IF(B2<(D2-(2*E2)),"Shrinking Extremely","")))))

  8. #8
    Registered User
    Join Date
    06-04-2018
    Location
    Virginia
    MS-Off Ver
    2016
    Posts
    7

    Re: Nested If function with a and function

    I deleted the first column because it had some information on there and I was trying to keep this anonymous. That is why the formula was shifted over one column, but everything else thank you

  9. #9
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Nested If function with a and function

    Does post #8 mean that the issue is resolved (based on whatever cell location adjustments you need to make)?

  10. #10
    Registered User
    Join Date
    05-02-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Nested If function with a and function

    Hi All,

    Not sure if I'm at the right place, but I have a question regarding filling in the values of a matrix. See table.Matrix.PNG

    Expectation: Scores showing 1-5 depending on the values of the x and y axis.

    Example in the table shows that a 100% Audit and 100% Accuracy gets a score of 5 (from a range of 1-5, where 5 is the highest).

    Any help will surely be appreciated.

    Thanks!
    Paul

  11. #11
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Nested If function with a and function

    Paul, welcome to the forum. Unfortunately this is NOT the right place to ask a question that isn't related to the question being posted by wyatt356. Forum rules (linked on the home page and subforum pages) are that you don't post your problem on the post of another person. Please start your own post and if you feel what is discussed here then you can link to it.
    Thank.

  12. #12
    Registered User
    Join Date
    05-02-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Nested If function with a and function

    Thanks for the guidance, Sambo kid.

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Nested If function with a and function

    Correct! Paul - please start your own thread.

  14. #14
    Registered User
    Join Date
    06-04-2018
    Location
    Virginia
    MS-Off Ver
    2016
    Posts
    7

    Re: Nested If function with a and function

    Yes sambo Kid. Your solution worked. Thank you for the help

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Nested If function with a and function

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. 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] Nested if with today function and datedif function
    By KIMMEYER in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-06-2016, 10:12 AM
  2. Calling function inside function. (aka nested function)
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2015, 05:58 AM
  3. COUNTIF/COUNTIFS function + nested user-defined function
    By shamjamali in forum Excel General
    Replies: 1
    Last Post: 05-12-2015, 09:12 PM
  4. [SOLVED] Nested Function With Division - Receiving #VALUE! Function Error
    By DDM64 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-17-2013, 01:16 PM
  5. [SOLVED] Nested AND function within IF function is only addressing logical1 but not logical2
    By betic in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-20-2012, 09:17 AM
  6. Replies: 9
    Last Post: 07-02-2012, 07:02 PM
  7. [SOLVED] Offset function with nested match function not finding host ss.
    By MKunert in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-21-2006, 06:50 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