Platform how-to · Sales operations

Dynamics 365 and spreadsheet reporting: combine CRM data with the targets, territories and lists your team keeps in Excel

Some of your most important sales data was never in the CRM. Targets, territory maps and partner lists live in spreadsheets. Here's how to report across both without rebuilding the workbook every month.

Storek team4 min read

Relationship map on navy: CRM opportunities, a targets spreadsheet and a sales team list connect on region, quarter and rep email to a hub comparing pipeline with target by region.
Sample dataA CRM and a spreadsheet of targets, joined by region. Illustration.

Every month, Hannah at Kestrel Fire Systems builds the same workbook. Kestrel sells fire-safety equipment to building managers, and its sales team works in Dynamics 365. Hannah is the sales operations analyst, and her month-end ritual goes like this.

She exports open opportunities from a Dynamics view to Excel. She opens the planning spreadsheet finance sent in January, with targets by region and month. She opens a second sheet that maps postcodes to territories, because Kestrel redrew its territories in the spring and the CRM still carries the old regions on some accounts. Then she spends most of a day on lookups, fixing “N. Region” against “North”, and pasting the result into a slide.

The slide is right for about a week. Then opportunities move, and the next month starts the same way.

Why the data is split

Hannah’s situation is common because each piece of data is in the right place for the team that owns it:

  • Dynamics 365 holds accounts, opportunities, owners and stages. Sales updates it every day.
  • The targets spreadsheet belongs to finance. Targets change a few times a year and are argued over in meetings, not entered in forms.
  • The territory sheet belongs to sales operations. It changes when the map changes.
  • Partner and distributor lists often arrive as spreadsheets from outside the company.

Moving all of it into the CRM is one answer, but it means custom tables, forms and someone to keep them current. Reporting across the CRM and the spreadsheets is often simpler.

Reporting across both, step by step

  1. Connect Dynamics 365 rather than exporting it

    An export to Excel is a snapshot. Connecting to Dynamics through a connector, or loading a scheduled export, keeps opportunities current. Bring in accounts, opportunities and owners with their IDs.

  2. Load each spreadsheet as a source

    Add the targets, territory and partner sheets as they are. If the targets sheet has one column per month, unpivot it into one row per region and month; our article on unpivoting wide exports shows why that layout reports better.

  3. Pair the names that differ

    Regions, territories and product lines are rarely spelled the same in the CRM and the sheet. Build a small mapping that pairs each spreadsheet value with its CRM value. Check it once; reuse it every month. Plain, consistent column names help too, as the column naming guide explains.

  4. Decide which territory wins

    When an account’s CRM region disagrees with the postcode territory sheet, pick a rule. Kestrel chose the territory sheet, because it reflected the new map. Write the rule down so the report and every question follow it.

  5. Flag what doesn't match

    Some opportunities won’t map to a territory, and some target rows won’t have pipeline. Show them on a short list instead of letting them disappear from the totals.

The month-end question

With Dynamics and the spreadsheets connected, Hannah asked the month-end question directly.

In Storek
You ask

“How does open pipeline compare with this quarter's target, by territory?”

What Storek did
  • read open opportunities from Dynamics 365 with their accounts
  • assigned each account a territory from the postcode sheet, using it over the older CRM region
  • unpivoted the targets sheet to one row per territory and month and summed the quarter
  • compared pipeline with target and listed opportunities that couldn't be placed
The answer

East is above target. North, West and Central are short, with West furthest behind. Six opportunities had no postcode and are listed for review.

Dig deeper: see how it works

Each territory opens into its opportunities, owners and stages, so the regional manager can see whether the gap is a few large deals or many small ones. The six unplaced opportunities show their accounts, so Hannah can fix the postcodes in Dynamics.

For analysts
WITH pipe AS (
  SELECT COALESCE(t.territory, a.region) AS territory, SUM(o.estimated_value) AS pipeline
  FROM opportunities o
  JOIN accounts a ON a.account_id = o.account_id
  LEFT JOIN territory_map t ON t.postcode_prefix = LEFT(a.postcode, 3)
  WHERE o.state = 'Open'
  GROUP BY 1
), tgt AS (
  SELECT m.crm_territory AS territory, SUM(g.target) AS target
  FROM targets_long g
  JOIN territory_names m ON m.sheet_name = g.region
  WHERE g.month BETWEEN DATE '2025-10-01' AND DATE '2025-12-01'
  GROUP BY 1
)
SELECT tgt.territory, pipe.pipeline, tgt.target, pipe.pipeline - tgt.target AS gap
FROM tgt LEFT JOIN pipe ON pipe.territory = tgt.territory
ORDER BY gap;

The chart at the top of this page shows the result: pipeline from Dynamics beside target from the spreadsheet, territory by territory.

Other reports that need both

  • Partner-sourced pipeline. Opportunities tagged with a partner in Dynamics, matched to the partner list spreadsheet for tier and region.
  • Coverage by territory. Accounts per rep after the territory change, so managers can see who is overloaded.
  • Quota attainment. Won opportunities against the targets sheet, by rep and month.

Each of these used to be a workbook. With the sources connected and the name mappings saved, they refresh as Dynamics and the spreadsheets change. The Excel to dashboard checklist is a useful companion when you turn one of them into a shared dashboard.

Where Storek fits

Storek connects Dynamics 365 through its export or a connector and reads the spreadsheets your team already keeps, side by side. It proposes how regions, territories and accounts line up, keeps the rules you choose, and answers month-end questions in plain English with the working shown. The result can live on a dashboard that stays current, so the slide stops going stale. See how sources are stored and read together on the lake page.

BI toolsData loadingMetric definitions

FAQ

Questions, answered.

Can't I just export Dynamics 365 to Excel and use lookups?

You can, and Dynamics makes exporting a view to Excel easy. The trouble comes later: the export is a snapshot, lookups break when names change, and every month someone rebuilds the workbook. Linking the live data to the spreadsheet removes the rebuild.

What if the spreadsheet uses different region or territory names?

That's the usual problem. Build a small mapping table that pairs each spreadsheet name with the CRM value, or let the linking step propose the pairs for someone to confirm. Do it once and reuse it.

Should targets move into Dynamics 365?

If your team will maintain them there, it can work. Many teams prefer to keep planning in a spreadsheet owned by finance or sales operations. Reading the spreadsheet as a source respects that and still gives one report.

How do I stop the spreadsheet breaking the report when someone edits it?

Keep a fixed layout for the columns the report reads, and have the report flag rows it can't match instead of dropping them. Wide month-by-month layouts are easier to report on once they're unpivoted into one row per month.

Book a demo

See your own data, delivered.

30 minutes. Your data or our sample. No slide deck. Pick a time straight after the form.