Excel : Count Unique values in a column
This tutorial explains how to count unique values in a column.Sample DataSample DataFormula=SUMPRODUCT(1/COUNTIF(B3:B15,B3:B15))LogicThe text "Jhonson" appears 3 times so the unique value would be...
View ArticleCount Unique values based on multiple columns
This tutorial explains how to count unique values based on multiple columns in Excel.Sample DataSample DataFormula=SUMPRODUCT((1/COUNTIFS(B3:B15,B3:B15,C3:C15,C3:C15)))LogicThe combination 1 and...
View ArticleExcel : Select and Count Duplicate Values
This tutorial explains how to select and count duplicate values in Excel.Sample DataSect Duplicate ValuesFormula : See the Duplicate ValuesStep I :Paste =COUNTIF($B$3:$B$15,B3) in cell C3 and paste it...
View ArticleSend SAS Output to Excel
This tutorial explains how to send SAS results (output) to Excel.Example 1 :Create a new sheet for each unique value in the grouping variable (By Group)ods tagsets.excelxp...
View ArticleExcel Array Formulas Examples
This tutorial explains how to use array formulas in real-world data problems.Array FormulasArray formulas are confirmed by pressing Ctrl+Shift+Enter rather than simple ENTER.Download WorkbookExample...
View ArticleSend Emails with Attachments via SAS
This tutorial explains how to send emails with attachments via SAS.Send Emails with Attachments and cc Optionsdata _null_;file sendit...
View ArticleExcel : Custom Number Formats Examples
In this tutorial, you will learn some useful custom formats in excel.1. Add prefix "X" to cells.Custom Format : "X"#How to Use : Press CTRL 1Â and Select Custom Tab under Number Category and type the...
View ArticleAutomatically Create Model Formula in R
The following method creates model formula in an automated fashion.names(mydata) <- make.names(names(mydata))y <- "Class"x <- names(mydata)[!names(mydata) %in% y]mymodel <-...
View ArticleConnect to Teradata using SAS
This tutorial explains how to connect to teradata using SAS.Write queries with Teradata SQL syntaxIn simple words, we are creating Teradata SQL statements and then pass them to the Teradata server for...
View ArticleSAS : WildCard Character
In this tutorial, you will learn how to use wildcard character in SAS.Example 1 : Keep all the variables start with 'X'DATA READIN;INPUT ID X1 X_T $;CARDS;2 3 013 4 0104 5 0225 6 0216 7 032;RUN;DATA...
View ArticleSAS : Count Distinct Values of Variables
This tutorial explains how to count distinct values of variables using PROC SQL and PROC FREQ. We will also check the performance of these two approaches.PROC SQL : Count Distinct Valuesproc sql;create...
View ArticleExcel : OFFSET Function with Examples
In this tutorial, you will learn how to apply OFFSET function in MS Excel.The Excel syntax for the OFFSET function is:=OFFSET(reference, rows, columns, [height], [width])It returns a reference to a...
View ArticleCreating Infographics with Excel
In this tutorial, you will learn how to create infographics with Excel.Create Infographics with ExcelHow to create Infographics with Excel1. Type 1 in cell B22. Select cell B2 and Insert Bar Chart [Go...
View ArticleCreating Infographics with Excel Part II
In this tutorial, you will learn how to create Infographics with Excel. Check out Part I of this series -Creating Infographics with ExcelInfographics with ExcelSteps1. Enter data in excel (as shown...
View ArticleFree Data Sources for Predictive Modeling and Text Mining
The following is a list of free data sources that can be used for predictive modeling, machine learning and text mining projects.1. Datasets for Regression and ClassificationIt contains many datasets...
View ArticleFree Ebooks on R, Python and Data Science
The following is a list of free ebooks (PDFs with data sets and codes) on R programming, Python and data science.Please read the disclaimer about the Free Ebooks in this article at the bottom.Free R...
View ArticleSAS Visual Analytics : Change Variable Classification
This tutorial explains how to change variable type (classification) from category to measure in SAS Visual Analytics.QuestionSuppose you have a numeric (continuous) variable that are classified as...
View ArticleSAS Visual Analytics : Dynamic Bar Chart
This tutorial explains how to create a dynamic bar chart with drop down in SAS Visual Analytics. It is very easy to use drop-down list under "section" prompt area and make interactive graphs or tables....
View ArticleDifference between WHERE and HAVING Clause in GROUP BY
This tutorial explains the difference between WHERE and HAVING clause in GROUP BY in SQL.Sample DataSQL : WHERE vs. HAVINGTaskFirst we need to filter out all the product codes having value greater than...
View ArticleImport CSV File in Python
This tutorial explains how to import a CSV file into python. It outlines many examples of loading a CSV file into Python.Import Moduleimport pandas as pdCreate Dummy Data for Importdt = {'ID': [11, 12,...
View Article