View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BRob BRob is offline
external usenet poster
 
Posts: 24
Default Percentile Analysis Across 2 Columns

Tx but I'd simplified the example a bit too much :(

There are about 60 different depts on the live data so, to keep things
manageable, I really need to get it done in a single step.




"Mike H" wrote in message
...
Hi,

You could use 2 helper columns to seperate Dep'ts A & B

In column C
=IF(A1="A",B1,"")
and in column D
=IF(A1="B",B1,"")

The use percentile on these 2 columns
=PERCENTILE(C1:C20,0.1)
=PERCENTILE(D1:D20,0.1)

Mike

Mike


"BRob" wrote:

I'm wanting to calculate decile (or equivalent percentile) salaries to
see
if there is any difference between 2 departments (A and B).

So dummy data looks like :

Dept Salary

A £52,670
A £53,530
A £56,117
B £41,437
A £51,809
B £53,530
A £32,803
B £52,670
B £35,398
A £52,670
B £31,077
A £35,398
A £23,831
B £17,100
B £15,929
A £19,602
A £16,688
B £16,307
B £16,688
B £14,065


Range names, which cover about 2000 rows of actual data are used "Dept"
and
"Salary"

Can SKS help out

Thanks,


Rob