K
kaspkasp
Hi,
My excel skills are almost nil and I have a task to do.
I need to calculate "rate" i.e [ (col1/col2)*100 ] based on a grouping
of 'Group'.
Eg.
Group col1 col2
A 1 1
B 0 1
C 1 1
A 0 1
B 0 1
C 0 1
A 1 1
I want my result to show:
Group Rate
A 2/3*100
B 0/3*100
C 1/3*100
Rate is number of col1 (where col1 = 1) divided by number of col2
(agains 1s only) into 100.
I tried pivot tables to group by Group (A,B,C) and can add 2 columns
Count(col1) and count(col2).
Is it possible to add a 3rd column to pivot table like this...
count(col1)/count(col2)*100?
How can I calculate Rate here? I have over 20K records.
Thanks in advance,
Kasp
My excel skills are almost nil and I have a task to do.
I need to calculate "rate" i.e [ (col1/col2)*100 ] based on a grouping
of 'Group'.
Eg.
Group col1 col2
A 1 1
B 0 1
C 1 1
A 0 1
B 0 1
C 0 1
A 1 1
I want my result to show:
Group Rate
A 2/3*100
B 0/3*100
C 1/3*100
Rate is number of col1 (where col1 = 1) divided by number of col2
(agains 1s only) into 100.
I tried pivot tables to group by Group (A,B,C) and can add 2 columns
Count(col1) and count(col2).
Is it possible to add a 3rd column to pivot table like this...
count(col1)/count(col2)*100?
How can I calculate Rate here? I have over 20K records.
Thanks in advance,
Kasp