How to Find Unique Values in Excel & Google Sheets
文章推薦指數: 80 %
2. In the Advanced Filter window, (1) select Copy to another location. (2) In the Copy to box, enter the cell where you want the copied list of unique values to ... SeeallHow-ToArticles HowtoFindUniqueValuesinExcel&GoogleSheets Inthisarticle,youwilllearnhowtofinduniquevaluesinExcelandGoogleSheets. FindUniqueValuesUsingAdvancedFilter ThefirstoptiontofindandextractuniquevaluesinExcelistouseanadvancedfilter.Sayyouhavethelistofnames,shownbelow,withduplicates. Togetalistofuniquevalues(withoutduplicates)inColumnC,followthesesteps: 1.Selectanycellinthedatarange(B2,forexample)andintheRibbon,gotoData>Advanced. 2.IntheAdvancedFilterwindow,(1)selectCopytoanotherlocation.(2)IntheCopytobox,enterthecellwhereyouwantthecopiedlistofuniquevaluestostart(e.g.,C1).Then(3)checkUniquerecordsonly and(4)clickOK. Notethat,whileyoucanalsofilteradatarangein-placebyselectingthefirstAction,thatwouldbepracticallythesameasfilteringduplicatevalues. Asaresult,inColumnCyougetalluniquevaluesfromColumnB,withoutduplicates. YoucanalsouseVBAcodetofinduniquevaluesinExcel. FindUniqueValuesUsingtheUNIQUEFunction YoucanalsousetheUNIQUEFunctiontoachievethesamething.Thisfunctionextractsalistofuniquevaluesfromagivenrange.Tothis,incellC2,entertheformula: 1 =UNIQUE(B2:B13) TheresultisthesameaswhenyouuseAdvancedFilter:UniquevaluesarecopiedinColumnC. FindUniqueValuesinGoogleSheets ThereisnoAdvancedFilteroptioninGoogleSheets,butyoucanusetheUNIQUEFunctionthesamewayinbothExcelandGoogleSheets. SeeallHow-ToArticles Postnavigation ←HowtoFindandHighlightSomethinginExcel&GoogleSheetsHowtoJumptoaRowWithGoToinExcel&GoogleSheets→
延伸文章資訊
- 1How to Count Unique Values in Google Sheets
- 2UNIQUE - 文件編輯器說明
您有在公司或學校使用Google 文件等Google 產品嗎?快來試試實用的秘訣、教學課程和範本,瞭解如何在不安裝Office 的情況下處理Office 檔案、建立動態專案計劃和小組 ...
- 3Get unique values from range of cells - Web Applications ...
In Google Spreadsheets, you can use the UNIQUE() formula to do that. Formula. =UNIQUE(A1:A10). Ex...
- 4Distinct Values in Drop Down List in Google Sheets
Use Data Validation to Create Unique / Distinct / Drop-Down Lists · Go to cell A1 and then go to ...
- 5count distinct values in spreadsheet - Stack Overflow
This can be accompished using pivot tables. ... Use the unique formula to get all the distinct va...