How to use the COUNTUNIQUE Google Sheets formula
文章推薦指數: 80 %
The COUNTUNIQUE formula in Google Sheets allows us to calculate unique occurrences of a dataset. Learn how to use it to your advantage here. HowtousetheCOUNTUNIQUEGoogleSheetsformulaWrittenbyValentineSchelstraeteWhileworkingwithspreadsheets,weareboundtodomanysortsofcalculations.Andwewill,attimesneedtocalculateuniqueoccurrencesofadataset.Thenumberofuniquecustomersthatshoppedatastore,forexample.Howdoweachievethiseasily?Wecan,withthehelpof COUNTUNIQUE formulainGoogleSheetsapplication.SyntaxCOUNTUNIQUE(value1,[value2,…])value1 –isthefirstinputvalueinthedataset,whichtheformulahastoidentifytheuniquenessfrom.value2,…–[OPTIONAL]–theseareadditionalvaluesinthedatasetweareconsideringtoidentifythenumberofuniquevaluesfrom.Usage:COUNTUNIQUEformulainGoogleSheetsWehavejustlearnedthesyntaxtotheformula.Nowitistimetodiveheadfirstinto practicallyapplyingthisnewfoundknowledgeontheGoogleSheetsapplication.Takealookattheimagebelow.Thefirstexampleconsumesdirectnumericvaluesandreturnsthecountofuniqueinstancesofeachvalue.ThesecondexampleisademonstrationthatshowsusthattheCOUNTUNIQUEformulacanusereferencestocellsthatstorevalues.Inthethirdexample,insteadofsendingmultiplevaluesorreferences,wehavepassedasinglecompositerange.ThiscompositecellrangeconsistsofallthevaluesfromA2throughA11.And,inthefinalexample,wenotonlypasseddirectnumericvaluesbutalsoacouplerangereferences.You’llobservethattheoutputisthesameacrossallexamples,regardlessoftheapproachthatwehavetakenwiththeformula.Ifwequicklyvalidatetheinputdataset,wewillindeednoticethatthereare7uniquevalueswithincolumnA.Andthatiswhattheformulahasreturned.NoteTheCOUNTUNIQUEformulaisnotjustconfinedtonumericvalues.Itcanalsoconsiderstringsforinputvalues.Wehavedemonstratedthiscapabilityinthefollowingimage.YoucanreadmoreabouttheCOUNTformulainthefollowingblog:HowtousetheCOUNTformulainGoogleSheets.Youmayalsolike…HowtousethePMTformulainGoogleSheetsNowadays,long-termpaymentsarebecomingmoreandmorepopularinbothpersonalandprofessional...HowtousetheNOTfunctioninGoogleSheetsTherearescenarioswhenusingGoogleSheetswherewemayneedatooltonegatealogicalvalueor...HowtousetheIRRformulainGoogleSheetsIfyou’remanagingthereturnsofyourperiodiccashflowsinGoogleSheets,thenusingtheIRR...
延伸文章資訊
- 1How to use the COUNTUNIQUE Google Sheets formula
The COUNTUNIQUE formula in Google Sheets allows us to calculate unique occurrences of a dataset. ...
- 2COUNTUNIQUE Function - SAS Help Center
COUNTUNIQUE (x <, method> ) ;. This function is supported by the IML procedure and the iml action...
- 3COUNTUNIQUE - 文件編輯器說明
Although COUNTUNIQUE is specified as taking a maximum of 30 arguments, Google Sheets supports an ...
- 4同時用countif和countunique... - Google Sheet 試算表討論區
實用Tips 2: 同時用countif和countunique =COUNTUNIQUE(FILTER(A:A, B:B="Criteria", C:C="Criteria2"))
- 5COUNTUNIQUE 用法在PTT/Dcard完整相關資訊
關於「COUNTUNIQUE 用法」標籤,搜尋引擎有相關的訊息討論:. COUNTUNIQUE - 文件編輯器說明- Google ... Count Unique Values in a Ra...