Hi all, this is my first entry (sorry by my bad english).

I have a xls file with 2 keys and 2 values like this:

Key 1 Key2 Value1 Value2

 K11  K21    10         20 

 K11 K22     15        30 

 K11 K22     11        44

 K21 K23       7        40

 

I have a mash to select Key1 and key2 (filters) and the result as for the filter:

- r1:sum(value1)

- r2:sum(value2)

- r3: ratio: sum(value1) / sum(value2)    (obviusly after apply the filtres via mash)

What as the way to create this ratio (r3)?

Sample of desired result

if I filter for K11 and K22 (using combos) I want:

r1 = 15+11 = 26

r2 = 20+44 = 64

r3 = 26 / 64 = 0,040   

 

I agree your help!

 

 

 

 or register to reply.

Notify Moderator