web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Change Excel Cell Color
Power Automate
Answered

Change Excel Cell Color

(0) ShareShare
ReportReport
Posted on by 776

Hi All,

 

Does Power Automate has the capability to update an excel cell with a specific color.

 

Example

>When a form is submitted

>Get the response

>Match the answers from excel file saved on onedrive or sharepoint online

>Condition 
>If Yes - color the name of the user red 
>If no - color the name of the user in green

Categories:
  • Verified answer
    Yutao Huang Profile Picture
    Microsoft Employee on at

    @AshishJaiswal -

     

    I think you should be able to do that with the "Run script" action of the Excel Online (Business) connector.

     

     Here are a few links that might be helpful to learn about using Office Scripts with Power Automate:

    - Announcing support for Office Scripts in the Excel Online (Business) connector
    - Run Office Scripts with Power Automate
    - Call scripts from a manual Power Automate flow
    - Pass data to scripts in an automatically-run Power Automate flow

     

    You can first try to use the recorder to record the set cell color action to learn how to do that with Office Scripts code. Then add you own script logic like matching cells, etc. After you have tested your code within Excel Online, you can add the "Run script" action to your flow.

     

    -Yutao

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard