Excel Reference Guide for Data Analytics


Essential Functions

Basic Calculations

Common Syntax

=FUNCTION(argument1, [argument2], ...)
- Arguments in square brackets are optional
- Use comma (,) to separate arguments
- Use colon (:) for ranges (A1:A10)

Data Cleaning Functions

Removing Whitespace

Case Manipulation

Data Validation

Error Handling


Lookup and Reference Functions

VLOOKUP

=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

Example:

=VLOOKUP("John", A2:C100, 2, FALSE)

INDEX-MATCH

=INDEX(return_array, MATCH(lookup_value, lookup_array, 0))

Example:

=INDEX(B2:B100, MATCH("John", A2:A100, 0))

XLOOKUP (Excel 365)

=XLOOKUP(lookup_value, lookup_array, return_array, [missing], [match_mode])

Example:

=XLOOKUP("John", A2:A100, B2:B100, "Not Found", 0)

Statistical Functions

Basic Statistics

Advanced Statistics


Text Functions

Text Manipulation

Text Analysis


Date & Time Functions

Date Calculations

Date Components


Logical Functions

Basic Logic

=IF(logical_test, value_if_true, value_if_false)

Nested Logic

=IF(test1, value1, 
    IF(test2, value2,
        IF(test3, value3, value_if_all_false)))

Multiple Conditions


Power Query Basics

Common Transformations

  1. Remove Columns
  2. Filter Rows
  3. Change Type
  4. Replace Values
  5. Group By
  6. Pivot/Unpivot
  7. Merge Queries
  8. Append Queries

M Formula Language Example

let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Changed Type" = Table.TransformColumnTypes(Source,{
        {"Date", type date},
        {"Value", type number}}),
    #"Filtered Rows" = Table.SelectRows(#"Changed Type", 
        each [Value] > 0)
in
    #"Filtered Rows"

PivotTables

Creation Steps

  1. Select data range
  2. Insert → PivotTable
  3. Choose fields for:
    • Rows
    • Columns
    • Values
    • Filters

Common Value Calculations


Keyboard Shortcuts

Selection

Editing

Formatting

Data

Formula Bar

Window Management