Hi Excel Experts,
I need to customise the Sumif formula here...if you look at the below table..typical sumif will give the require numbers however, I should get the sumif results at once not at every line where we have same lines....for example below
[TABLE="width: 294"]
<colgroup><col span="2"><col><col></colgroup><tbody>[TR]
[TD]EMP ID[/TD]
[TD]Amount[/TD]
[TD]Actual Sumif[/TD]
[TD]Require Output[/TD]
[/TR]
[TR]
[TD]11111[/TD]
[TD="align: right"]-950[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]11111[/TD]
[TD="align: right"]950[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]33333[/TD]
[TD="align: right"]698[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]33333[/TD]
[TD="align: right"]-698[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]698[/TD]
[/TR]
[TR]
[TD]44444[/TD]
[TD="align: right"]650[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]55555[/TD]
[TD="align: right"]250[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]44444[/TD]
[TD="align: right"]-650[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]650[/TD]
[/TR]
[TR]
[TD]55555[/TD]
[TD="align: right"]-250[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]250[/TD]
[/TR]
[TR]
[TD]11111[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
Can anyone help me on this...
I need to customise the Sumif formula here...if you look at the below table..typical sumif will give the require numbers however, I should get the sumif results at once not at every line where we have same lines....for example below
[TABLE="width: 294"]
<colgroup><col span="2"><col><col></colgroup><tbody>[TR]
[TD]EMP ID[/TD]
[TD]Amount[/TD]
[TD]Actual Sumif[/TD]
[TD]Require Output[/TD]
[/TR]
[TR]
[TD]11111[/TD]
[TD="align: right"]-950[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]11111[/TD]
[TD="align: right"]950[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]33333[/TD]
[TD="align: right"]698[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]33333[/TD]
[TD="align: right"]-698[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]698[/TD]
[/TR]
[TR]
[TD]44444[/TD]
[TD="align: right"]650[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]55555[/TD]
[TD="align: right"]250[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]44444[/TD]
[TD="align: right"]-650[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]650[/TD]
[/TR]
[TR]
[TD]55555[/TD]
[TD="align: right"]-250[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]250[/TD]
[/TR]
[TR]
[TD]11111[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
Can anyone help me on this...