Sorting partners to remove data

Nicrutio

New Member
Joined
Apr 25, 2018
Messages
3
Hi,

I have a data set that has a number of customers. Some of those customers have partners/spouses, and I need to focus on "households" where the person to be focused on is the one who has, in order: 1) spent the most or 2) if the same was spent, then the one who purchased the most.

The way our system outputs the data is as customers and with costumer partners and they all have their own customer numbers. Is there a way to quickly float to the top of a spreadsheet those partner/spouses who 1) have NOT spent the most or 2) if the same was spent, then purchased the least? This way that information can be hidden/deleted so as to focus on the person who is most interested.

An example of a data set is below.

Thanks
[TABLE="width: 691"]
<tbody>[TR]
[TD]Customer[/TD]
[TD]Customer #[/TD]
[TD]Customer Partner[/TD]
[TD]Customer Partner #[/TD]
[TD]Amount Spent[/TD]
[TD]Number of times purchased[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD]1[/TD]
[TD]none[/TD]
[TD]none[/TD]
[TD]1000[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]b[/TD]
[TD]2[/TD]
[TD]z[/TD]
[TD]26[/TD]
[TD]2000[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]c[/TD]
[TD]3[/TD]
[TD]y[/TD]
[TD]25[/TD]
[TD]500[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]d[/TD]
[TD]4[/TD]
[TD]x[/TD]
[TD]24[/TD]
[TD]8000[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]e[/TD]
[TD]5[/TD]
[TD]w[/TD]
[TD]23[/TD]
[TD]20[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]f[/TD]
[TD]6[/TD]
[TD]v[/TD]
[TD]22[/TD]
[TD]1450[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]g[/TD]
[TD]7[/TD]
[TD]u[/TD]
[TD]21[/TD]
[TD]150[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]h[/TD]
[TD]8[/TD]
[TD]none[/TD]
[TD]none[/TD]
[TD]500[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]i[/TD]
[TD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6[/TD]
[TD]1445[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]w[/TD]
[TD]23[/TD]
[TD]e[/TD]
[TD]5[/TD]
[TD]20[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]x[/TD]
[TD]24[/TD]
[TD]d[/TD]
[TD]4[/TD]
[TD]10000[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]y[/TD]
[TD]25[/TD]
[TD]c[/TD]
[TD]3[/TD]
[TD]500[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]z[/TD]
[TD]26[/TD]
[TD]b[/TD]
[TD]2[/TD]
[TD]1000[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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