• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
QuestionPro

QuestionPro

questionpro logo
  • Products
    survey software iconSurvey softwareEasy to use and accessible for everyone. Design, send and analyze online surveys.research edition iconResearch SuiteA suite of enterprise-grade research tools for market research professionals.CX iconCustomer ExperienceExperiences change the world. Deliver the best with our CX management software.WF iconEmployee ExperienceCreate the best employee experience and act on real-time data from end to end.
  • Solutions
    IndustriesGamingAutomotiveSports and eventsEducationGovernment
    Travel & HospitalityFinancial ServicesHealthcareCannabisTechnology
    Use CaseAskWhyCommunitiesAudienceContactless surveysMobile
    LivePollsMember ExperienceGDPRPositive People Science360 Feedback Surveys
  • Resources
    BlogeBooksSurvey TemplatesCase StudiesTrainingHelp center
  • Features
  • Pricing
Language
  • English
  • Español (Spanish)
  • Português (Portuguese (Brazil))
  • Nederlands (Dutch)
  • العربية (Arabic)
  • Français (French)
  • Italiano (Italian)
  • 日本語 (Japanese)
  • Türkçe (Turkish)
  • Svenska (Swedish)
  • Hebrew IL (Hebrew)
  • ไทย (Thai)
  • Deutsch (German)
  • Portuguese de Portugal (Portuguese (Portugal))
  • Español / España (Spanish / Spain)
Call Us
+1 800 531 0228 +1 (647) 956-1242 +55 9448 6154 +49 030 9173 9255 +44 01344 921310 +81-3-6869-1954 +61 (02) 6190 6592 +971 529 852 540
Log In Log In
SIGN UP FREE

Home Market Research Research Tools and Apps

Data Manipulation: What It Is, Techniques, Examples, and Tools

Data manipulation is a collection of strategies for changing raw data you have into the desired format and configuration. Learn more.

Data manipulation is the process of changing the structure, order, or format of data so people and systems can use it. Sorting a customer list, joining two spreadsheets, or turning raw survey responses into a summary table are all forms of data manipulation.

Raw data rarely arrives ready to analyze. It comes from different systems, in different formats, with gaps and duplicates. Manipulation is the work that turns that mess into something you can trust and read.

In this guide, we cover what data manipulation means, the main techniques with examples, the tools teams use, and the habits that keep the process accurate and honest.

Content Index hide
1. What is data manipulation?
2. Is data manipulation the same as data falsification?
3. How does data manipulation compare with related terms?
4. What are the main data manipulation techniques?
5. What are examples of data manipulation?
6. How do you manipulate data step by step?
7. Which tools are used for data manipulation?
8. What are the benefits of data manipulation?
9. Who performs data manipulation?
10. How does data manipulation support AI and machine learning?
11. What mistakes should you avoid?
12. How do you manipulate survey data correctly?
13. How does QuestionPro help with data manipulation?
14. Good manipulation is invisible and repeatable
15. Frequently Asked Questions (FAQs)

What is data manipulation?

Data manipulation means rearranging, combining, summarizing, or reshaping data to make it easier to read, analyze, or load into another system. The goal is a more useful view of the same facts, not new or different facts.

Most manipulation falls into four kinds of work:

  • Organizing: Sorting, filtering, and grouping records so the relevant ones are easy to find.
  • Combining: Joining or merging data from several tables, files, or systems.
  • Reshaping: Pivoting, transposing, or splitting columns so the layout fits the analysis.
  • Summarizing: Counting, averaging, and totaling records to see patterns at a glance.

In databases, the term also has a technical meaning. Data manipulation language (DML) is the part of SQL used to read and change records, through commands such as SELECT, INSERT, UPDATE, and DELETE.

Is data manipulation the same as data falsification?

No. In analytics, data manipulation is a normal and necessary part of preparing data. In research ethics and fraud, “manipulating data” means changing results to mislead, which is a serious form of misconduct.

The difference comes down to intent and transparency. Sorting, cleaning, and summarizing data with documented rules is good practice. Changing or omitting records so that results no longer reflect what was observed is falsification. U.S. federal policy defines research misconduct as fabrication, falsification, or plagiarism, and falsification explicitly includes changing or omitting data so the research record is inaccurate.

A simple rule keeps teams on the right side of the line. Every manipulation step should be reproducible, recorded, and something you would be comfortable explaining to a skeptical reviewer.

How does data manipulation compare with related terms?

Several terms overlap with data manipulation, and teams often use them interchangeably. The table shows where each one fits.

Term What it focuses on Example
Data manipulation Changing the structure, order, or format of data Pivoting monthly sales into a table by region
Data cleaning Fixing errors, duplicates, and missing values Removing duplicate customer records
Data wrangling The full hands-on process of preparing raw data Combining, cleaning, and reshaping files before analysis
Data transformation Converting data from one format or structure to another for a system Changing date formats before loading a warehouse
Data analysis Finding patterns and meaning in prepared data Testing whether satisfaction differs by region

Manipulation usually sits between collection and data analysis. Cleaning is one part of it, and wrangling is the broader hands-on job. You can read more in this guide to data wrangling.

What are the main data manipulation techniques?

Most data manipulation relies on a small set of techniques. Combine them as needed for each task.

Filtering and selecting

Filtering keeps only the rows that meet a condition, and selecting keeps only the columns you need. Typical filters include:

  • Value filters: Keep orders over $100 or scores below 6.
  • Category filters: Keep responses from one state, segment, or product line.
  • Date filters: Keep records from the last quarter or a campaign window.

This guide to data filtering covers filter types in more depth.

Sorting and ranking

Sorting puts records in order, such as by date, value, or name. Ranking assigns a position, such as the top 10 products by revenue. Common uses include:

  • Top and bottom lists: Find the best and worst performing products, stores, or campaigns.
  • Time order: Line up events by date to see sequences and gaps.
  • Outlier checks: Sort a numeric column to spot impossible values at either end.

Joining and merging

Joins combine tables that share a key, such as a customer ID. Picking the wrong join type is a common source of missing or duplicated rows.

Join type What it keeps Typical use
Inner join Only records that match in both tables Customers who made a purchase
Left join Every record from the first table, plus matches All customers, with purchases where they exist
Full outer join Every record from both tables Reconciling two systems to find gaps
Append or union Rows from tables with the same columns, stacked Combining monthly survey files

Aggregating and grouping

Aggregation summarizes many rows into a few, using counts, sums, averages, or percentages. Grouping applies those summaries by category, such as average satisfaction by region.

Reshaping and pivoting

Reshaping changes the layout of a table so it fits the next step. Three moves cover most needs:

  • Pivot: Turn rows into columns, such as one column per month, for a readable report.
  • Unpivot: Turn columns back into rows, the “long” layout most charting and statistics tools prefer.
  • Split or combine columns: Separate a full name into first and last name, or join city and state into one field.

Deriving new fields

Derived fields calculate new values from existing ones, such as age from a birth date, profit from revenue and cost, or a satisfaction band from a 1 to 10 score.

What are examples of data manipulation?

Data manipulation shows up in almost every business function. These hypothetical examples show the technique and the result.

  • Marketing: A team joins email engagement data with purchase records to see which campaigns drive repeat buyers.
  • Finance: An analyst pivots monthly expense data by department to build a budget-versus-actual report.
  • Human resources: An HR team groups engagement survey results by tenure to see whether new hires feel less supported.
  • Retail operations: A planner aggregates daily sales by store and week to forecast inventory needs.
  • Healthcare: A research team filters patient records to one condition and age group, with privacy controls, before comparing outcomes.
  • Survey research: A researcher recodes open-ended answers into themes, then counts how often each theme appears by customer segment.

How do you manipulate data step by step?

A repeatable process keeps manipulation accurate and easy to audit. Follow these steps for each dataset.

  1. Define the question.
    Write down what the final dataset must answer, so every change has a purpose.
  2. Profile the raw data.
    Check row counts, column types, missing values, and obvious errors before you change anything.
  3. Keep the original.
    Work on a copy or a view, never on the only version of the raw data.
  4. Clean first.
    Remove duplicates, fix formats, and decide how to handle missing values. Good data cleansing prevents errors from spreading.
  5. Combine and reshape.
    Join sources, filter rows, and pivot or unpivot to the layout you need.
  6. Summarize.
    Group and aggregate to produce the figures the question requires.
  7. Validate the result.
    Compare totals with the source, spot-check records, and confirm that joins did not drop or duplicate rows. Clear data validation rules make this step faster.
  8. Document every step.
    Record what you changed and why, ideally in a script, so anyone can rerun it.

Which tools are used for data manipulation?

The right tool depends on data size, team skills, and how often the work repeats. Most teams use more than one.

Tool Best for Skill level
Microsoft Excel and Google Sheets Small datasets, quick sorting, filtering, and pivot tables Beginner
Excel Power Query Repeatable cleaning and reshaping inside Excel Beginner to intermediate
SQL Querying, joining, and aggregating data in databases Intermediate
Python with pandas Flexible, scripted manipulation of medium and large datasets Intermediate to advanced
R with dplyr and tidyr Statistical work and tidy data reshaping Intermediate to advanced
Apache Spark Very large datasets spread across many machines Advanced
Visual prep tools such as Alteryx, KNIME, and Tableau Prep Drag-and-drop workflows for analysts who prefer not to code Beginner to intermediate

Spreadsheets are fine for one-off work. Once a task repeats every week, move it into a script or a saved workflow so the steps run the same way every time.

What are the benefits of data manipulation?

Well-run data manipulation turns scattered records into a reliable base for decisions. The main benefits are:

  • Clarity: Organized data makes patterns and outliers easier to see.
  • Consistency: Standard formats let teams compare data across sources and time periods.
  • Speed: Prepared datasets shorten the time from question to answer.
  • Better decisions: Leaders work from complete, combined views instead of partial reports.
  • Reuse: Documented steps let teams refresh reports without starting over.
  • Readiness for AI: Clean, well-structured data is the foundation for reliable models and AI tools.

Who performs data manipulation?

Data manipulation is no longer only a job for data engineers. Different roles do different kinds of it.

Data engineers build the pipelines that move and reshape data between systems at scale. Analysts and data scientists manipulate datasets for specific questions, often in SQL, Python, or R. Researchers clean and recode survey data before analysis. Business users increasingly filter, sort, and pivot data themselves in spreadsheets and dashboards. The common thread is responsibility: whoever changes the data should record what they changed.

How does data manipulation support AI and machine learning?

Machine learning models learn from whatever data they receive, so manipulation quality shapes model quality. Teams often spend more time preparing data than building the model itself.

Typical preparation steps for AI include:

  • Encoding categories: Turn text labels such as “red” or “blue” into numbers a model can read.
  • Scaling values: Put numeric fields on similar ranges, so no single field dominates.
  • Handling missing data: Fill, flag, or drop missing values using a documented rule.
  • Splitting datasets: Separate training data from test data, so results reflect real performance.
  • Removing leakage: Drop fields that reveal the answer, such as a cancellation date in a churn model.

Careless manipulation at this stage produces models that look accurate in testing and fail in real use.

What mistakes should you avoid?

The most common mistake is changing the raw data directly. Once the original is overwritten, nobody can check the work or recover from an error. Always keep the source untouched and manipulate a copy.

Joins cause many silent errors. A join on a non-unique key can multiply rows and inflate totals, while the wrong join type can quietly drop records. Check row counts before and after every join. Other frequent problems include mixing date formats, filtering out records without recording the rule, and averaging percentages that come from groups of very different sizes.

How do you manipulate survey data correctly?

Survey data needs a few extra steps because it comes from people, not systems. Answers can be incomplete, duplicated, or coded in different ways across survey versions.

  • Remove low-quality responses: Filter out speeders, straight-liners, and duplicate submissions using rules set before fieldwork ends. This overview of data quality in research explains common checks.
  • Recode consistently: Map answer options to the same codes across waves, so trends compare like with like.
  • Handle “don’t know” carefully: Decide whether to exclude or report these answers, and apply the rule the same way everywhere.
  • Weight when needed: Apply weights if your sample over-represents some groups, and report that you did.
  • Keep the raw export: Store the original download, so any later question can be answered from the source.

How does QuestionPro help with data manipulation?

Much of the manipulation work becomes easier when data arrives clean and consistently coded. QuestionPro survey software reduces that effort at the collection stage and supports common manipulation tasks in analysis.

  • Clean inputs: Validation rules, required fields, and duplicate prevention cut cleaning work later.
  • Built-in filtering and segmentation: Filter responses by answers, demographics, or custom variables without exporting.
  • Cross-tabs and summaries: Group and compare results by segment in dashboards.
  • Flexible exports: Export raw or filtered data to Excel, CSV, or SPSS for scripted manipulation.
  • Organized knowledge: Store finished findings in a searchable repository alongside other data management software in your stack.

Good manipulation is invisible and repeatable

The best data manipulation leaves no mystery behind it. Anyone on the team can see where the data came from, what changed, and why the final numbers look the way they do.

Start with the question, keep the raw data safe, clean before you combine, and validate before you share. Write the steps down, and move repeated work into scripts. That discipline turns data manipulation from a risk into one of the most valuable skills on a data team.

Create memorable experiences based on real-time data, insights and advanced analysis. Request Demo

Frequently Asked Questions (FAQs)

What is data manipulation language (DML)?

DML is the part of SQL used to read and change records in a database. Its main commands are SELECT to read data, INSERT to add rows, UPDATE to change values, and DELETE to remove rows from a table.

Is data manipulation the same as data cleaning?

No. Data cleaning fixes errors, duplicates, and missing values. Data manipulation is broader and also includes sorting, joining, reshaping, and summarizing. Cleaning is usually one of the first manipulation steps before analysis.

Which programming language is best for data manipulation?

Python with the pandas library and R with dplyr are the most popular choices for scripted work. SQL is essential for data stored in databases. Many analysts use SQL to pull data and Python or R to reshape it.

Can data manipulation introduce bias?

Yes. Filtering out records, choosing how to handle missing values, or recoding categories can all shift results. Set rules before you see the outcome, apply them consistently, and document each decision so others can review it.

How do you check that manipulated data is still accurate?

Compare row counts and key totals with the original source after each major step. Spot-check a sample of records by hand, confirm joins did not drop or duplicate rows, and rerun the full script on a fresh copy.

SHARE THIS ARTICLE:

About the author
Anas Al Masud
Digital Marketing Lead at QuestionPro, working across SEO, AI Search, and content strategy. Specializes in survey and research content, with a focus on improving search visibility, creating useful content, and helping people find the information they need through traditional search engines and AI-powered platforms.
View all posts by Anas Al Masud

Primary Sidebar

Research what's on your mind. Find out what's on theirs!

A suite of tools to leverage research and transform insights.

Discover our insight platform

RELATED ARTICLES

HubSpot - QuestionPro Integration

Customer Reviews: How to Get More, Use Them, and Track Results

Sep 19,2024

HubSpot - QuestionPro Integration

Patient Satisfaction Score: Importance + How to Calculate It?

Mar 12,2025

HubSpot - QuestionPro Integration

Software VOC: Características y mejores alternativas

May 20,2024

BROWSE BY CATEGORY

Footer

MORE LIKE THIS

question-stacks

Question Stacks in QuestionPro BI for a shared view of related ratings

Nov 11, 2026

QuestionPro CX- AI widget

Beyond Dashboards: How Conversational AI Is Transforming Customer Experience Analytics

Nov 9, 2026

shared-workspace-in-questionpro-audience

Shared workspace in QuestionPro Audience: Share projects with your team without giving up ownership

Nov 8, 2026

test-survey-logic

Test survey logic without the click-through marathon: Meet the survey path simulator

Nov 5, 2026

Other categories

questionpro-logo-nw
Help center Live Chat SIGN UP FREE
  • Sample questions
  • Sample reports
  • Survey logic
  • Branding
  • Integrations
  • Professional services
  • Security
  • Survey Software
  • Customer Experience
  • Workforce
  • Communities
  • Audience
  • Polls Explore the QuestionPro Poll Software - The World's leading Online Poll Maker & Creator. Create online polls, distribute them using email and multiple other options and start analyzing poll results.
  • Research Edition
  • LivePolls
  • InsightsHub
  • Blog
  • Articles
  • eBooks
  • Survey Templates
  • Case Studies
  • Training
  • Webinars
  • All Plans
  • Nonprofit
  • Academic
  • Qualtrics Alternative Explore the list of features that QuestionPro has compared to Qualtrics and learn how you can get more, for less.
  • SurveyMonkey Alternative
  • VisionCritical Alternative
  • Medallia Alternative
  • Likert Scale Complete Likert Scale Questions, Examples and Surveys for 5, 7 and 9 point scales. Learn everything about Likert Scale with corresponding example for each question and survey demonstrations.
  • Conjoint Analysis
  • Net Promoter Score (NPS) Learn everything about Net Promoter Score (NPS) and the Net Promoter Question. Get a clear view on the universal Net Promoter Score Formula, how to undertake Net Promoter Score Calculation followed by a simple Net Promoter Score Example.
  • Offline Surveys
  • Customer Satisfaction Surveys
  • Employee Survey Software Employee survey software & tool to create, send and analyze employee surveys. Get real-time analysis for employee satisfaction, engagement, work culture and map your employee experience from onboarding to exit!
  • Market Research Survey Software Real-time, automated and advanced market research survey software & tool to create surveys, collect data and analyze results for actionable market insights.
  • GDPR & EU Compliance
  • Employee Experience
  • Customer Journey
  • Synthetic Data
  • About us
  • Executive Team
  • In the news
  • Testimonials
  • Advisory Board
  • Careers
  • Brand
  • Media Kit
  • Contact Us

QuestionPro in your language

  • English
  • Español (Spanish)
  • Português (Portuguese (Brazil))
  • Nederlands (Dutch)
  • العربية (Arabic)
  • Français (French)
  • Italiano (Italian)
  • 日本語 (Japanese)
  • Türkçe (Turkish)
  • Svenska (Swedish)
  • Hebrew IL (Hebrew)
  • ไทย (Thai)
  • Deutsch (German)
  • Portuguese de Portugal (Portuguese (Portugal))
  • Español / España (Spanish / Spain)

Awards & certificates

  • survey-leader-asia-leader-2023
  • survey-leader-asiapacific-leader-2023
  • survey-leader-enterprise-leader-2023
  • survey-leader-europe-leader-2023
  • survey-leader-latinamerica-leader-2023
  • survey-leader-leader-2023
  • survey-leader-middleeast-leader-2023
  • survey-leader-mid-market-leader-2023
  • survey-leader-small-business-leader-2023
  • survey-leader-unitedkingdom-leader-2023
  • survey-momentumleader-leader-2023
  • bbb-acredited
The Experience Journal

Find innovative ideas about Experience Management from the experts

  • © 2022 QuestionPro Survey Software | +1 (800) 531 0228
  • Sitemap
  • Privacy Statement
  • Terms of Use