Task prompt · Data

Merge two spreadsheets by a shared column

by Agent Yard Team

Combine two files on an ID or email and see exactly which rows did not match.

You'll attach

Needs file

Works with

ChatGPTClaudeGeminiGrokCopilot

Use cases

  • Combine two files on an ID or email and see exactly which rows did not match.
  • When you already have a file and want the AI to work from it instead of starting from scratch.
  • Reuse it as often as you like: fill in the blanks (file to keep fully) with new details and copy again.
  • As one step of the Make sense of your data prompt pack.

How to use it

  1. Open chatgpt.com or claude.ai (or another AI listed here).
  2. Attach the file (PDF, Word, CSV or Excel), or paste its text into the prompt.
  3. Fill in the highlighted blank ([FILE TO KEEP FULLY]) below, or edit them after pasting.
  4. Copy the prompt, paste it into the chat and send.

Fill in the blanks (optional)

Prompt

Remix
I'm attaching two spreadsheets. Merge them using [SHARED COLUMN, e.g. email or order ID].

- Clean the key first (trim spaces, same capitalization) and tell me what you changed.
- Keep all rows from [FILE TO KEEP FULLY].
- Give me the merged file.
- Then list rows that had no match in the other file, and any keys that appear more than once.

Explain the merge in plain words so I can repeat it in Excel or Google Sheets with XLOOKUP.
One email a week

The best new prompts and personas, nothing else.

The Weekly is presented byyour brandSponsored · open

More Data prompts

Footer partner · openThis strip runs at the foot of every page. One partner at a time.Ask about it →