Build function

SanchoP

New Member
Joined
Feb 7, 2014
Messages
9
ABCD
1NameCategoryPositive / NegativeNumber
2AAxPositive103503253.7
3BBxNegative42125221.42
4CCyPositive85401512.22
5DDzPositive30600783.38
6EEyNegative32698328.06
7FFyPositive36048545.1
8GGyPositive993354.51
9HHxNegative774600.81
10IIzPositive10420490.23
11JJzPositive23557656.72
12KKxNegative1141258.86
13LLzPositive1162261.71
14MMxPositive1170530.17
15NNyNegative92860585.07

<THEAD>
</THEAD><TBODY>
</TBODY>


I would like to build a function counting quantity (countif/countifs) of "name" for each category, only "positive" which sum ( each category ) will be over 80%

E.g.
Category X = 1
Because
=sumifs($D$4:$D$17;$B$4:$B$17;B20;$C$4:$C$17;$C$4) => category "X" and "Positive"
104673783,91 * 0,8 = 83739027,128
and
103 503 253,74</SPAN> > 83739027,128
so only 1 name gave over 80%

X = 1 AA
Y = 2 CC,FF
Z = 2 DD,JJ

Reasuming I need to check how many numbers need to be added so the sum will greater than 80% of the category sum.

 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,215,043
Messages
6,122,822
Members
449,096
Latest member
Erald

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
Back
Top