here I want to create a group by query against account no , net
after the group by I should have output of only three rows. please check the required output sheet2 of the excel
Let me know if you find a better way to do it. I don’t know what’s your criteria to when it comes to the rest of the columns. As you can see on my version I’m picking the First row of each grouping. If you just want to know the unique account no there are better ways (although will not return the full table (only a column with the distinct account no):
thanks for your reply. can you please check there is net column . I want to sum value of the net column against account no . after grouping it should be zero if sum is done .
it seems to us that you want to reach something different:
groupby to account no
calculate the net values and have the result in output
May we ask you to resharpen the requirements and share the more detailed desctription with us. Especially a rule for regulating which other col values are to take (e.g. group member first …) would be recommended as well. Thanks