|
Hi Reader, I used to avoid scripts. VBA scared me. But now AI flipped that for me. It builds tiny automations and explains them clearly. I need to share that with you because it has given me so much joy in automating boring task and having them now run themselves. And here’s the point: you don’t need to “learn to code” to get them. You can let AI draft the script, explain it in plain language, and help you tweak it until it works. Before showing you how I do it and teach it... Tell The Right Story with Your DataJoin me for a free masterclass on using AI to clean data, sharpen analysis, and turn numbers into clear financial narratives (including how to apply it in financial modeling). Pick your session for free: Here's what you will learn as well:
These events are best for CFOs, FP&A, and finance teams who want to save time while adding value to their analysis. Save your spot now if you want to learn it in English Reserve ta place pour la masterclass en francais Free event with me and sponsored by Jedox What “data cleaning with AI” exactly is and how to use itData cleaning with AI = using AI to detect, fix, and document problems in raw data, then generate code (Excel/VBA, Python/pandas, SQL, Power Query) that does those fixes repeatably. With a reasoning model, you’re not just asking AI to “clean the data.” You’re asking it to plan → code → check → explain → iterate like an analyst would. You are asking AI for some help to create a script. No coding required! Example of today: Data cleaning using VBA script with AIImagine your boss comes to you and wants a clean, consolidated customer revenue table delivered in Excel today for the last 3 years. You have exports from CRM, invoicing, and the bank, all with messy headers, mixed date formats, currency symbols, and duplicates. Below is how I prompted AI to consolidate all tabs into one: Here's the prompt I used: I am in Excel and I want to consolidate all the tabs I have in one tab.
The headers are the same.
What is the best way to do this quickly?
Output: Then it gave me a lot of different options, like:
And VBA. Today I want to show you the VBA solution. The link to the file used in the example How to run ChatGPT gave me the exact code to run which I pasted below:
In 10 seconds your consolidated tab is created! Faster than your copy and paste no? What are other things Visual Basic / PowerQuery / Python can do
Why this mattersI keep repeating this in my AI CFO sessions: data hygiene + automation can be now automated with AI. Not with AI in the middle but with AI writing the script to automate. The hours saved by automating a simple multi‑tab consolidation (and making it refreshable) compound every month, freeing you to analyze, not copy‑paste. If you can consolidate, validate, visualize, and narrate results in minutes, you’re already many steps ahead of your peers and invaluable to your boss. Best, P.S. The free live events on Financial Analysis start in 3 days, the seats are limited, so you'd better act fast and reserve your spot now. 🇫🇷 Lien pour le live en francais Transparency note: |
Join 270,000+ Professionals and receive the best insights about Finance & AI. More than 1 million people follow me on social media. Join us today and get 5 goodies from me!
How to become an AI CFO Don't miss next Tuesday's free Masterclass that will show you how to become an AI CFO (and stay ahead). I will teach you: How to build a 3-scenario, 5-year financial model, before your colleagues have finished making their coffee. Excel’s best-kept secret: The special mode that cleans your data - and fixes its own formula errors while you watch. How I combined 80 messy CSV files into a single upload in 20 seconds (without knowing a single line of code). If you feel you...
Sponsored by Abacum If your analysis still runs on downloads, uploads, and copy-paste, I have a fix for you. Next Thursday, I'll show you three use cases you can act on straight away to improve your analysis: Build scenarios in minutes using AI-driven modelling (without a single formula) Connect your data securely to your own AI tool (to generate board decks in minutes) Clean up data headaches automatically (without touching Excel) If you're tired of spending your week on data prep instead of...
Sponsored by Abacum If your analysis still runs on downloads, uploads, and copy-paste, I have a fix for you. Next Thursday, I'll show you three use cases you can act on straight away to improve your analysis: Build scenarios in minutes using AI-driven modelling (without a single formula) Connect your data securely to your own AI tool (to generate board decks in minutes) Clean up data headaches automatically (without touching Excel) If you're tired of spending your week on data prep instead of...