sort only unique value

Vishaal

Well-known Member
Joined
Mar 16, 2019
Messages
543
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
  2. Web
hi, we have the following sheet and want to sort only unique value

Book1
ABCD
1NameDistributorDomestic grossCOMBINE
2RonnyParamount718732821Ronny (Paramount) (718732821)
3Rishi20th Century / Disney684075767Rishi (20th Century / Disney) (684075767)
4RonnyParamount718732821Ronny (Paramount) (718732821)
5Thor4113316079586754Thor (411331607) (9586754)
6ThomasUniversal376851080Thomas (Universal) (376851080)
7RonnyParamount718732821Ronny (Paramount) (718732821)
8AngeliaWarner Bros.369345583Angelia (Warner Bros.) (369345583)
9PeterDisney343256830Peter (Disney) (343256830)
10JackParamount190872904Jack (Paramount) (190872904)
11ThomasUniversal376851080Thomas (Universal) (376851080)
Sheet1
Cell Formulas
RangeFormula
D2:D11D2=IF(A2="","",A2& " (" &B2& ") " &"("&C2&")")


result sheet

Result in Column F
Book1
ABCDEF
1NameDistributorDomestic grossCOMBINE
2RonnyParamount718732821Ronny (Paramount) (718732821)Angelia (Warner Bros.) (369345583)
3Rishi20th Century / Disney684075767Rishi (20th Century / Disney) (684075767)Jack (Paramount) (190872904)
4RonnyParamount718732821Ronny (Paramount) (718732821)Peter (Disney) (343256830)
5Thor4113316079586754Thor (411331607) (9586754)Rishi (20th Century / Disney) (684075767)
6ThomasUniversal376851080Thomas (Universal) (376851080)Ronny (Paramount) (718732821)
7RonnyParamount718732821Ronny (Paramount) (718732821)Thomas (Universal) (376851080)
8AngeliaWarner Bros.369345583Angelia (Warner Bros.) (369345583)Thor (411331607) (9586754)
9PeterDisney343256830Peter (Disney) (343256830)
10JackParamount190872904Jack (Paramount) (190872904)
11ThomasUniversal376851080Thomas (Universal) (376851080)
Sheet1
Cell Formulas
RangeFormula
D2:D11D2=IF(A2="","",A2& " (" &B2& ") " &"("&C2&")")
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Since you don't have 365 (which would make it easy)...if you don't want to resort to VBA, you could copy/paste the D column to F, remove dups via Data tab, then sort (also via Data tab).
 
Upvote 0
Use Farmula in Sell F2
=SORT(UNIQUE(A2:A11&" "&B2:B11&" "&C2:C11))
 
Upvote 0
Solution
Simpler than you might think:

  • Click the Data Ribbon Menu
  • Select the Advanced Button in the Sort & Filter section
  • Fill in the dialog Box, copying the results to another location and making sure you tick Unique records only
Unique.png
 
Upvote 0
@Vishaal what version of Excel are you using? Your profile shows 2010 & 2007, but you have marked post#4 as the solution which uses functions not available in either of those versions.
 
Upvote 0
Hi Fluff, i used this formula in google sheet, its working on that
 
Upvote 0
Thanks all for your reply and help.......

Fluff, Kalim Shaikh, kweaver, AhoyNC
 
Upvote 0

Forum statistics

Threads
1,223,950
Messages
6,175,584
Members
452,653
Latest member
craigje92

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