Data Cleaning Flashcards
autofit
To autofit in Excel, you can use the AutoFit feature to automatically adjust the width of columns or the height of rows based on their contents:
Select the columns or rows you want to resize
Go to the Home tab
Click the Format button
Select AutoFit Column Width or AutoFit Row Height from the drop-down menu
You can also use keyboard shortcuts to autofit:
Autofit columns: Press Alt + H, then O, then I
Autofit rows: Press Alt + H, then O, then A
identify duplicates with conditional formatting
To highlight duplicate values in Excel using conditional formatting, you can do the following:
Select the cells you want to check
Go to the Home tab
Click Conditional Formatting
Click Highlight Cells Rules
Select Duplicate Values
removing duplicates
select data tab
remove duplicates
choose the columns you want to delete
trimming extra spaces using TRIM function
Removes all spaces from text except for single spaces between words. Use TRIM on text that you have received from another application that may have irregular spacing
The TRIM function syntax has the following arguments:
Text Required. The text from which you want spaces removed.
can add within a PROPER function
eliminating blank cells
select range
home tab
find and select
select blanks
to fill those blank cells, enter something into the first blank cell and then hit control+enter
spell check
select qualitative columns
review tab
spelling
add any words to your dictionary that you don’t want flagged as a spelling issue
data validation (dropdown lists)
data tab
data validation
allow a list of items
you can type these manually to add items to your list
format as a table
control + T
you can change both format and style option to add specific features to your table
iferror
IFERROR(value, value_if_error)
The IFERROR function syntax has the following arguments:
value Required. The argument that is checked for an error.
value_if_error Required. The value to return if the formula evaluates to an error. The following error types are evaluated: #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!.
number formats
home tab
use thousand separator instead of the comma icon on the toolbar
find and replace
command + H
home tab
find and replace
remove gridlines
select page layout tab
uncheck “gridlines” option
LOWER function
LOWER(text)
The LOWER function syntax has the following arguments:
Text Required. The text you want to convert to lowercase. LOWER does not change characters in text that are not letters.
PROPER function
PROPER(text)
The PROPER function syntax has the following arguments:
Text Required. Text enclosed in quotation marks, a formula that returns text, or a reference to a cell containing the text you want to partially capitalize.
can add within a TRIM function
paste as value
do this when you make a new column using a formula to make sure that when you delete the source column that it doesn’t become an error