• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Sum Data and list Top Three

kundanlal

Member
Hi..

There is a Raw data (running in 500 rows with multiple Sub-Agent No for earch Main Agent Name) which is required to sum (My Sale Rs-total and Others Sale Rs-total) on the basis of Sub-Agent No+Main Agent Name, rank it on the basis of Others Sale Rs-Total and generate report for top 3 as under :

Can any one help in this..

Main Agent NameSub-Agent NoMy Sale Rs-TotalOthers Sale Rs-TotalRank
AmarPNQ0020
0.2​
2167.4​
1​
AmarPNQ0005
0.2​
1139.5​
2​
AmarPNQ0164
0​
14​
3​
JagdishPNQ0005
0.1​
185.5​
1​
JagdishPNQ0020
0​
41​
2​
JagdishPNQ0164
0​
2​
3​
KapoorPNQ0020
0.1​
1206​
1​
KapoorPNQ0005
0.4​
317.9​
2​
KapoorPNQ0164
0​
4.4​
3​

Thanks and Regards,

Kundanlal
 

Attachments

  • Sample-Sum and Rank.xls
    31 KB · Views: 10
Seems doable with a pivot table.

Make the pivot
63170

Sort on SUM of Others Sale
63171

Filter on "TOP 10"
63172

Define TOP 3 as followed.
63173
 

Attachments

  • Copy of Sample-Sum and Rank.xls
    42 KB · Views: 4
Appreicated.. Thanks Sir.. I will certainly use this...

Actually, these report so generated is part of my other report.. Forumula based solution is very much welcome..

Regards,

Kundanlal
 
Hi, to all!

Check this file, with an option (check name manager, with a formulated name "codes"). Blessings!
 

Attachments

  • Sample-Sum and Rank.xlsx
    24.8 KB · Views: 8
Back
Top