Calculations performed after sorting / finding the relevant data

JennyReed

New Member
Joined
Feb 8, 2011
Messages
23
Hi

I have a large amount of data that I would like to calculate percentiles on but need to extract the data belonging to the same instrument first.
How do I search for the instrument e.g. SD6000 and then perform the percentile calculation on only those values associated with that instrument
for example: SD6000 (calculation would be based on the values 32.02; 26.8; 57.4; 41.2 and 34.4).

I tried an IF function to 'find' the instrument (SD6000) but then did not know how to do the calculation (=percentile.inc(B2:B9,0.01)) on only the 'found' values.

Thank you,
Jenny

5m Instrument5m Max
cm/s
AWAC40
SD600032.02
SD600026.8
Aquadopp41
SD600057.4
SD600041.2
SD600034.4
Aquadopp22.5
Aquadopp47.8

<tbody>
</tbody>
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,424
Office Version
  1. 2019
Does this work?

=PERCENTILE(IF(A1:A9="SD6000",B1:B9),0.01)

Array formula, use Ctrl-Shift-Enter
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,598
Messages
5,832,646
Members
430,150
Latest member
amitk1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top