RugerGP100
New Member
- Joined
- Aug 29, 2012
- Messages
- 1
in Excel 2010:
I currently get Excel reports given to me from my companies CRM tool. It shows me activity history in every account. There are many duplicate values in the Account name column and I need to delete the duplicates leaving only the value for the time the account reached the farthest stage in our sales cycle (This is not necessarily the most recent move). Let's say the stages are 1-4 with 4 being a closed deal and 1 being an introductory call. I need to delete all the rows with duplicate data that are not the highest value in advanced Stage. In the following example I would only want to keep Rows 4 and 9. THANKS FOR YOUR HELP AND INSIGHT!!!!
[TABLE="width: 500"]
<tbody>[TR]
[TD]ROW[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Account[/TD]
[TD]Advanced to Stage[/TD]
[TD]Source[/TD]
[TD]Month[/TD]
[TD]Rep[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]ABC Company[/TD]
[TD]2[/TD]
[TD]Referral[/TD]
[TD]March[/TD]
[TD]Steve[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]ABC Company[/TD]
[TD]1[/TD]
[TD]Referral[/TD]
[TD]March[/TD]
[TD]Steve[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]ABC Company[/TD]
[TD]3[/TD]
[TD]Referral[/TD]
[TD]March[/TD]
[TD]Steve[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]ABC Company[/TD]
[TD]2[/TD]
[TD]Referral[/TD]
[TD]March[/TD]
[TD]Steve[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]123 Enterprises[/TD]
[TD]2[/TD]
[TD]NY Times[/TD]
[TD]June[/TD]
[TD]Nancy[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]123 Enterprises[/TD]
[TD]3[/TD]
[TD]NY Times[/TD]
[TD]June[/TD]
[TD]Nancy[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]123 Enterprises[/TD]
[TD]3[/TD]
[TD]NY Times[/TD]
[TD]June[/TD]
[TD]Nancy[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]123 Enterprises[/TD]
[TD]4[/TD]
[TD]NY Times[/TD]
[TD]June[/TD]
[TD]Nancy[/TD]
[/TR]
</tbody>[/TABLE]
I currently get Excel reports given to me from my companies CRM tool. It shows me activity history in every account. There are many duplicate values in the Account name column and I need to delete the duplicates leaving only the value for the time the account reached the farthest stage in our sales cycle (This is not necessarily the most recent move). Let's say the stages are 1-4 with 4 being a closed deal and 1 being an introductory call. I need to delete all the rows with duplicate data that are not the highest value in advanced Stage. In the following example I would only want to keep Rows 4 and 9. THANKS FOR YOUR HELP AND INSIGHT!!!!
[TABLE="width: 500"]
<tbody>[TR]
[TD]ROW[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Account[/TD]
[TD]Advanced to Stage[/TD]
[TD]Source[/TD]
[TD]Month[/TD]
[TD]Rep[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]ABC Company[/TD]
[TD]2[/TD]
[TD]Referral[/TD]
[TD]March[/TD]
[TD]Steve[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]ABC Company[/TD]
[TD]1[/TD]
[TD]Referral[/TD]
[TD]March[/TD]
[TD]Steve[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]ABC Company[/TD]
[TD]3[/TD]
[TD]Referral[/TD]
[TD]March[/TD]
[TD]Steve[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]ABC Company[/TD]
[TD]2[/TD]
[TD]Referral[/TD]
[TD]March[/TD]
[TD]Steve[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]123 Enterprises[/TD]
[TD]2[/TD]
[TD]NY Times[/TD]
[TD]June[/TD]
[TD]Nancy[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]123 Enterprises[/TD]
[TD]3[/TD]
[TD]NY Times[/TD]
[TD]June[/TD]
[TD]Nancy[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]123 Enterprises[/TD]
[TD]3[/TD]
[TD]NY Times[/TD]
[TD]June[/TD]
[TD]Nancy[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]123 Enterprises[/TD]
[TD]4[/TD]
[TD]NY Times[/TD]
[TD]June[/TD]
[TD]Nancy[/TD]
[/TR]
</tbody>[/TABLE]