SOLVED

Help using Nested IF formula in PERCENTILE

%3CLINGO-SUB%20id%3D%22lingo-sub-2999821%22%20slang%3D%22en-US%22%3EHelp%20using%20Nested%20IF%20formula%20in%20PERCENTILE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2999821%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20large%20data%20set%2C%20which%20contains%20many%20entities.%20I%20am%20looking%20to%20find%20the%20value%20of%20a%20percentile%2C%20using%20the%20percentile%20function%20on%20excel.%20To%20have%20the%20formula%20only%20select%20the%20entity%20and%20check%20in%20question%20i%20am%20looking%20to%20use%20the%20IF%20function.%20However%20i%20seem%20to%20not%20be%20able%20to%20get%20it%20to%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20two%20criteria%20are%20to%20match%20the%20%22entity%20code%22%20%26amp%3B%20%22validation%22%20in%20columns%20A%20%26amp%3B%20B.%20Any%20help%20or%20insight%20on%20what%20i%20am%20doing%20incorrectly%20would%20be%20very%20much%20appreciated.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EKind%20regards%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2999821%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3000118%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20using%20Nested%20IF%20formula%20in%20PERCENTILE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3000118%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F364226%22%20target%3D%22_blank%22%3E%40calof1%3C%2FA%3E%26nbsp%3BI%20altered%20the%20formula%20quite%20a%20bit%20and%20it%20has%20become%20a%20monster.%20The%20sheet%20calculates%20very%20slow%20(at%20least%2C%20on%20my%20machine)%20so%20I%20set%20it%20to%20calculate%20manually.%20Then%2C%20there%20isn't%20much%20data%20in%20column%20E.%20Only%20the%20first%20193%20rows%20out%20of%2086000%20contain%20a%20number.%20Only%20two%20rows%20in%20the%20Proposed%20Tolerance%20sheet%20(rows%20335%20and%20336)%20return%20a%20numeric%20result.%20I%20trust%20that%20your%20real%20data%20set%20has%20more%20numbers%20in%20it.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3003738%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20using%20Nested%20IF%20formula%20in%20PERCENTILE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3003738%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Riny%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20kindly%20for%20your%20assistance.%20From%20your%20comments%20i%20noticed%20i%20needed%20to%20copy%20down%20my%20formula%20in%20column%20E%2C%20so%20now%20it%20has%20the%20full%20set.%20I%20did%20notice%20that%20when%20i%20did%20this%2C%20i%20no%20longer%20have%20the%20results%20for%20row%20335%20and%20336.%20To%20run%20the%20formula%2C%20i%20just%20pressed%20calculate%20now.%20Is%20there%20an%20additional%20step%20i%20need%20to%20do%3F%3CBR%20%2F%3E%3CBR%20%2F%3EMany%20thanks%20for%20your%20assistance.%3CBR%20%2F%3E%3CBR%20%2F%3EKind%20regards%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E
Regular Contributor

Hi,

 

I have a large data set, which contains many entities. I am looking to find the value of a percentile, using the percentile function on excel. To have the formula only select the entity and check in question i am looking to use the IF function. However i seem to not be able to get it to work.

 

My two criteria are to match the "entity code" & "validation" in columns A & B. Any help or insight on what i am doing incorrectly would be very much appreciated.

 

Kind regards,

5 Replies
best response confirmed by calof1 (Regular Contributor)
Solution

@calof1 I altered the formula quite a bit and it has become a monster. The sheet calculates very slow (at least, on my machine) so I set it to calculate manually. Then, there isn't much data in column E. Only the first 193 rows out of 86000 contain a number. Only two rows in the Proposed Tolerance sheet (rows 335 and 336) return a numeric result. I trust that your real data set has more numbers in it.

Hi Riny,

Thank you kindly for your assistance. From your comments i noticed i needed to copy down my formula in column E, so now it has the full set. I did notice that when i did this, i no longer have the results for row 335 and 336. To run the formula, i just pressed calculate now. Is there an additional step i need to do?

Many thanks for your assistance.

Kind regards,

@calof1 You're welcome! With regard to sheet calculation, you can set it back to Auto. I just switched it off s it became to slow on my machine, at least.

Thanks i have turned back on. I have noticed all the calculations show "-". However the formula works for some rows when the data in column E was less. Does this mean the size of the data is too big to calculate?

@calof1 The hyphen is an error trap. If the formula somehow produces an error it returns the hyphen, rather than displaying #NUM, #CALC, "NA# or something similar. But it should not return an error actually. Played around a bit with the ranges the formula references and there may indeed be a limitation to the size of the array PERCENTILE can handle. Couldn't find anything about it on line, but on my system the formula works fine with arrays up to 20840 elements. Thus not the classical 16384 or 32768 that are limits you often find. So, referencing A2:A20841 goes fine. Extend it by one more row and you'll get the hyphen. At least that's on my system. Perhaps it's a memory limitation. Don't know.