+ Reply to Thread
Results 1 to 9 of 9

ExCel Nested IF Statement Generator

  1. #1
    Registered User
    Join Date
    03-28-2017
    Location
    Durham
    MS-Off Ver
    2010
    Posts
    38

    ExCel Nested IF Statement Generator

    Hello, I am struggling with a rather large if statement that checks several criteria, is there a tool to help me with this as it is very tedious?

    Thanks

  2. #2
    Registered User
    Join Date
    03-28-2017
    Location
    Durham
    MS-Off Ver
    2010
    Posts
    38

    Re: ExCel Nested IF Statement Generator

    This is the information I am trying to input;

    1. IF Y7<>”N/A”
    2. IF U7=4:
    TRUE: PERCENTRANK.INC(IF('AIS Statistics'!$R$5:$R$4732<>0,'AIS Statistics'!$R$5:$R$4732),Y7,5))
    3. IF U7=5:
    TRUE: PERCENTRANK.INC(IF('AIS Statistics'!$W$5:$W$7973<>0,'AIS Statistics'!$W$5:$W$7973),Y7,5))
    4. IF U7=6:
    TRUE: PERCENTRANK.INC(IF('AIS Statistics'!$AB$5:$AB$933<>0,'AIS Statistics'!$AB$5:$AB$933),Y7,5))
    5. IF U7=7:
    TRUE: PERCENTRANK.INC(IF('AIS Statistics'!$AG$5:$AG$2327<>0,'AIS Statistics'!$AG$5:$AG$2327),Y7,5))
    6. IF U7=8:
    TRUE: PERCENTRANK.INC(IF('AIS Statistics'!$AL$5:$AL$98<>0,'AIS Statistics'!$AL$5:$AL$98),Y7,5))
    7. IF U7=9:
    TRUE: PERCENTRANK.INC(IF('AIS Statistics'!$AQ$5:$AQ$14495<>0,'AIS Statistics'!$AQ$5:$AQ$14495),Y7,5))
    8. IF U7=10:
    TRUE: PERCENTRANK.INC(IF('AIS Statistics'!$AV$5:$AV$9844<>0,'AIS Statistics'!$AV$5:$AV$9844),Y7,5))
    9. IF FALSE: “N/A”

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: ExCel Nested IF Statement Generator

    See:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The other option could be use OFFSET to use appropriate column in Statistics But it would be easier to propose if you show (attach) sample file
    Best Regards,

    Kaper

  4. #4
    Registered User
    Join Date
    03-28-2017
    Location
    Durham
    MS-Off Ver
    2010
    Posts
    38

    Re: ExCel Nested IF Statement Generator

    Quote Originally Posted by Kaper View Post
    See:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The other option could be use OFFSET to use appropriate column in Statistics But it would be easier to propose if you show (attach) sample file
    Kaper, many thanks for your assistance - again!

    There are too many arguments in the function at present, please see Test Sample Sheet attached.

    In summary if column B has a value I want to calculate its percentile rank in its designated shipping section. All data for each section is provide on the AIS statistics tab.

  5. #5
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: ExCel Nested IF Statement Generator

    Try this formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,940

    Re: ExCel Nested IF Statement Generator

    Please Login or Register  to view this content.
    Same as Mr. Kaper but little difference
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  7. #7
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: ExCel Nested IF Statement Generator

    1) No attachment
    2) I think José Augusto explored/implemented my second proposition :-)

  8. #8
    Registered User
    Join Date
    03-28-2017
    Location
    Durham
    MS-Off Ver
    2010
    Posts
    38

    Re: ExCel Nested IF Statement Generator

    Sorry, the file was too large.

    I have now attached a shortened version.

    I am struggling to apply the already provided formulas into my sheet due to lack of expertise therefore I would be grateful if you could use the attached which I can modify with ease.

    Thanks
    Attached Files Attached Files

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,908

    Re: ExCel Nested IF Statement Generator

    It is hard, for me at least, to figure out which cell in the attached file is supposed to correspond to Y7 (I suppose A4 corresponds to U7) mentioned in the first post (as both of those cells are blank on the 'Interpretation Rev 1' sheet in the attached file)
    It might help if you could manually mock up one or two of your expected results.
    The more information that you can supply as to how the expected results are derived, the more helpful it will be to someone attempting to provide a solution.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Excel - IF OR LEFT nested statement
    By used2reg in forum Excel General
    Replies: 2
    Last Post: 09-08-2017, 08:42 AM
  2. Nested IF statement error. Nested True statement is not triggering
    By Lucas7040 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-26-2016, 11:41 AM
  3. [SOLVED] Need help. Nested sum,if statement new to excel
    By EdgeCrusher32 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-09-2013, 09:03 PM
  4. Nested What IF excel statement with date ranges
    By Glenn1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-08-2012, 01:47 PM
  5. Excel 2010 Nested IF / AND Statement
    By snikrs11 in forum Excel General
    Replies: 5
    Last Post: 03-04-2011, 12:43 PM
  6. excel nested if statement
    By hunterdog in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-26-2009, 09:02 PM
  7. Designer dummy in Excel - Need (nested?) If statement...
    By Excel Dummy in forum Excel General
    Replies: 1
    Last Post: 12-30-2005, 02:40 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