If you run paid media, you live and die by CPM. It tells you, in one compact number, how efficiently you’re buying attention: total ad spend divided by impressions, multiplied by 1,000. Building CPM calculators in Excel or Google Sheets lets you compare channels, creatives, and audiences side by side instead of trusting each ad platform’s siloed view. With a single, consistent CPM formula, your team can spot overpriced inventory, negotiate better rates, and instantly see whether that new YouTube pre-roll or TikTok creator is worth scaling. The problem is that keeping these spreadsheets current is painful. Every week, someone exports CSVs, fixes column names, pastes into Google Sheets or Excel, drags the CPM formula down, and rebuilds reports. That’s where an AI computer agent changes the story: it logs in for you, downloads fresh performance data, cleans it, updates CPM columns and pivots, then drops a summary in your inbox. You don’t just calculate CPM, you delegate the entire workflow and get back to deciding what to scale, pause, or test next.
Before you automate, it helps to master the basics. CPM (cost per mille) is:
CPM = (Ad Spend / Impressions) * 1000
=(C2/D2)*1000=AVERAGE(E2:E100) for average CPM.Official Excel formula help: https://support.microsoft.com/en-us/office/overview-of-formulas-in-excel-ecfdc708-9162-49e8-b993-c311f47ca173
=(C2/D2)*1000"$"0.00 if you want dollars.=AVERAGEIF(B2:B, "Facebook", E2:E) to see Facebook CPM.Formula reference for Sheets: https://support.google.com/docs/answer/3093480
=IF(D2=0, "N/A", (C2/D2)*1000)Manual methods are perfect for small accounts, but they quickly break once you’re exporting from five ad platforms every week.
When copy‑paste starts eating your mornings, use built‑in automation and no‑code tools to keep CPM metrics fresh without an analyst glued to CSVs.
RAW_META.CPM_CALC tab, reference those raw cells:=RAW_META!C2=RAW_META!D2=IF(D2=0, "N/A", (C2/D2)*1000)FILTER or QUERY:=ARRAYFORMULA(IF(RAW_META!D2:D=0, "N/A", (RAW_META!C2:C/RAW_META!D2:D)*1000))Docs on ARRAYFORMULA and related functions: https://support.google.com/docs/answer/3093275
/Ad_Exports/.= [Spend] / [Impressions] * 1000.Power Query overview: https://support.microsoft.com/en-us/office/get-started-with-power-query-7104fbee-9e62-4cb9-a02e-5bfb1a6c536a
Use tools like Zapier or Make to push ad metrics directly into Google Sheets or Excel Online:
Pros of no-code methods:
Cons:
At some point, even no‑code breaks: you add more platforms, custom reports, currencies, and weekly pivots. This is where an AI computer agent like Sai becomes your operations teammate.
Simular is a computer-use agent that behaves like a power user on your desktop and browser. For CPM reporting, you can:
=(Spend/Impressions)*1000.Because Simular agents can work across desktop, browser, and cloud tools, they do not depend on brittle APIs. They literally click, type, and drag like your analyst—but at machine speed.
Pros:
Cons:
Imagine a performance agency with 40 clients. Instead of each account manager spending Monday morning exporting reports, you:
Result: your team focuses on strategy (fix bad CPMs, test new creatives) while the AI computer agent runs the tedious data choreography across Google Sheets and Excel in the background.