100% found this document useful (1 vote)
2K views14 pages

Advanced Excel Data Manipulation Guide

This document is a comprehensive course book on advanced Excel data manipulation, covering topics such as data cleaning, sorting, filtering, and using formulas for text, numbers, and dates. It includes detailed explanations of functions, lookup operations, pivot tables, and Power Query for automation. Best practices for effective Excel usage are also provided to enhance data management skills.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
2K views14 pages

Advanced Excel Data Manipulation Guide

This document is a comprehensive course book on advanced Excel data manipulation, covering topics such as data cleaning, sorting, filtering, and using formulas for text, numbers, and dates. It includes detailed explanations of functions, lookup operations, pivot tables, and Power Query for automation. Best practices for effective Excel usage are also provided to enhance data management skills.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

ADVANCED EXCEL DATA MANIPULATION –

COMPLETE COURSE BOOK (WITH


EXPLANATIONS & FORMULAS)

Chapter 1: Introduction to Excel Data Manipulation

Data manipulation means transforming raw data into meaningful insights.


Excel is powerful because it allows cleaning, transforming, analyzing, and automating data tasks.

Key benefits:
• Easy sorting and filtering
• Advanced formulas
• Lookup operations
• Pivot tables
• Power Query for automation
Chapter 2: Data Cleaning Techniques (Explained + Formulas)

1. Removing Duplicates
Go to: Data → Remove Duplicates

2. TRIM – Remove extra spaces


Formula:
=TRIM(A2)

3. CLEAN – Remove invisible characters


=CLEAN(A2)

4. SUBSTITUTE – Replace specific text


=SUBSTITUTE(A2,"-"," ")

5. PROPER/UPPER/LOWER – Fix text case


=PROPER(A2)
=UPPER(A2)
=LOWER(A2)

6. Split text using Text to Columns


Data → Text to Columns → Delimited/Fixed Width

7. Flash Fill (Ctrl + E)


Automatically fills patterns like names, dates, emails.
Chapter 3: Sorting & Filtering (Explained)

Sorting:
• Sort A→Z (Ascending)
• Sort Z→A (Descending)
• Custom sorting (Months, Names, Grades)

Filtering:
• Text Filters (contains, begins with)
• Number Filters (> , < , between)
• Date Filters (this week, last month)

Advanced Filter allows conditions like:


Department = "Sales" AND Salary > 50000
Chapter 4: Excel Tables (Structured References)

Converting data to a Table: Ctrl + T

Benefits:
• Auto-expands formulas
• Easy filtering
• Easy formatting
• Structured formulas

Example structured reference formula:


=SUM(Table1[Salary])
Chapter 5: Text Manipulation Functions (Explained + Formulas)

LEFT – Extract characters from left


=LEFT(A2, 5)

RIGHT – Extract characters from right


=RIGHT(A2, 3)

MID – Extract from middle


=MID(A2, 2, 4)

LEN – Count characters


=LEN(A2)

FIND – Case-sensitive position


=FIND("@",A2)

SEARCH – Not case-sensitive


=SEARCH("abc",A2)

CONCAT – Combine texts


=CONCAT(A2," - ",B2)

TEXTJOIN – Best for multiple cells


=TEXTJOIN(", ", TRUE, A2:A10)

SUBSTITUTE – Replace part of text


=SUBSTITUTE(A2,"old","new")
Chapter 6: Number & Date Manipulation (Explained + Formulas)

ROUND – Round numbers


=ROUND(A2,2)

INT – Remove decimals


=INT(A2)

MOD – Get remainder


=MOD(A2,5)

TODAY – Current date


=TODAY()

NOW – Current date & time


=NOW()

DATE function
=DATE(2024,12,20)

EDATE – Add months


=EDATE(A2,6)

DATEDIF – Find age / duration


=DATEDIF(A2,B2,"Y") → Years
=DATEDIF(A2,B2,"M") → Months
Chapter 7: Lookup Functions (Explained + Formulas)

VLOOKUP – Vertical search


=VLOOKUP(A2, B2:D100, 3, FALSE)

XLOOKUP – More powerful


=XLOOKUP(A2, B2:B100, C2:C100)

INDEX + MATCH – Most flexible


=INDEX(C2:C100, MATCH(A2, B2:B100, 0))

Advanced Lookup (multiple conditions):


=INDEX(D2:D100, MATCH(1,(A2:A100=H2)*(B2:B100=H3),0))
Chapter 8: Conditional Logic (Explained + Formulas)

IF – Basic condition
=IF(A2>50,"Pass","Fail")

IFS – Multiple conditions


=IFS(A2>90,"A", A2>75,"B", A2>60,"C")

SUMIF – Conditional sum


=SUMIF(A:A,"Sales",B:B)

COUNTIF – Conditional count


=COUNTIF(A:A,"Completed")

AVERAGEIF – Conditional average


=AVERAGEIF(A:A,"HR",B:B)
Chapter 9: Pivot Tables & Charts

Steps:
Insert → Pivot Table

Drag fields into:


• Rows
• Columns
• Values
• Filters

Features:
• Group by dates
• Group numbers (e.g. 0–100, 100–200)
• Calculated Fields
• PivotCharts
• Slicers & Timelines
Chapter 10: Power Query (Full Explanation)

Power Query helps automate data cleaning.

You can:
• Remove blanks
• Remove errors
• Split columns
• Merge tables
• Append tables
• Unpivot data
• Transform data automatically

Load data to:


• Excel Sheet
• Data Model
Chapter 11: Data Validation

Dropdown list:
Data → Data Validation → List

Example:
Enter: Apple, Mango, Orange

Or use a range:
=$A$1:$A$10

Error message:
“Please select from dropdown only.”
Chapter 12: Dynamic Array Formulas

UNIQUE – Get unique list


=UNIQUE(A2:A100)

SORT – Sort dynamically


=SORT(A2:A100)

FILTER – Filter dynamically


=FILTER(A2:B100, A2:A100="Sales")

SEQUENCE – Generate numbers


=SEQUENCE(10)

LET – Create variables inside formulas


=LET(x, A2*10, x+5)
Chapter 13: LAMBDA – Create Custom Excel Functions

LAMBDA allows creating your own formulas.

Example: Add two numbers


=LAMBDA(x,y, x+y)

Create custom functions inside Name Manager.


Chapter 14: Excel Best Practices

• Always store data in columns


• Avoid merged cells
• Use tables for formulas
• Name important ranges
• Use consistent date formats
• Use comments/notes to document logic
• Prefer XLOOKUP over VLOOKUP

You might also like