Forum Discussion

OlufemiO's avatar
OlufemiO
Brass Contributor
Nov 10, 2025

EXCEL FORMULA INTEGRITY VALIDATION USING POWER AUTOMATE

OVERVIEW
I built a Power Automate workflow to validate Excel financial models and alert errors in real-time. Excel Agent Mode can miss formula dependencies and reconciliation checks. This workflow ensures formula integrity and sends real-time email alerts when issues are detected.

FLOW LOGIC

  1. Trigger – Starts when an Excel file in OneDrive is modified
  2. List Rows – Retrieves validation table
  3. Filter Array – Keeps rows where Status = "Error"
  4. Initialize Variable – Prepares summary string
  5. Apply to Each – Adds each failed check
  6. Condition – Sends email if errors exist
  7. Send Email – Include bold red highlights for errors

SAMPLE EMAIL ALERT
A validation error was found in your financial model.
Net Income Flow-through: Error (11/04/2025 03:30)
Test Error Trigger: Error (11/04/2025 03:30)
Please review the Excel model and correct the issues.

USAGE INSTRUCTIONS

  • Upload your Excel file to OneDrive with the validation table
  • Update the Power Automate flow to point to the correct file and table
  • Ensure the Filter Array step checks Status = "Error"
  • Save and test the flow; errors trigger email alerts
  • Optional: Customize the email template for formatting or recipients

WHY THIS MATTERS

  • Excel Agent Mode may miss formula linkage or integrity issues
  • Dependent relationships may be misinterpreted
  • Workbooks may be modified without validation records

This workflow ensures:

  • Formula integrity is maintained
  • Errors trigger real-time alerts
  • Audit trails are preserved

REFERENCE
Microsoft Support: Agent Mode FAQ
https://support.microsoft.com/en-us/office/frequently-asked-questions-about-agent-mode-in-excel-frontier-1cfd906d-40b4-46be-8e2d-65b893e28a02?utm_source=chatgpt.com

GITHUB REPOSITORY
For full workflow and files:
https://github.com/olufemiolamoyegun/excel-formula-integrity-validation?utm_source=chatgpt.com

No RepliesBe the first to reply

Resources