A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
You can do it all in one go like this ARRAY formula. See below on how to enter it. This looks for the letter A in column B and calculates the 30th percentile so chamnge A to the correct value and the percentile you require.
=PERCENTILE(IF(B2:B20="A",A2:A20),0.3)
This is an array formula which must be entered by pressing CTRL+Shift+Enter
and not just Enter. If you do it correctly then Excel will put curly brackets
around the formula {}. You can't type these yourself. If you edit the formula
you must enter it again with CTRL+Shift+Enter.