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 / How to identify the co...
Power Automate
Unanswered

How to identify the color code from excel using power automate desktop

(1) ShareShare
ReportReport
Posted on by 10

Hi,

Is it possible to identify the color code from the excel data and filter by using those colour codes.

for ex: if its highlighted in yellow then I need to extract only yellow highlighted data from excel

Categories:
I have the same question (1)
  • Bruno_CR Profile Picture
    16 on at

    Hi @Shanmugapriya09 ,

    To identify the color code from an Excel file using only Power Automate Desktop (PAD), you can try the following workaround, as there is no direct action to read cell colors in PAD:

    1. Set Up Your Excel File: Ensure that your Excel file has a table with the color-coded cells you want to identify.
    2. Launch Excel: Use the ‘Launch Excel’ action to open your Excel file.
    3. Read Range: Use the ‘Read from Excel Worksheet’ action to read the data into a DataTable variable.
    4. Use a Helper Column: In Excel, set up a helper column that uses a formula to return the color index of the adjacent cells. For example, you could use a formula like =CELL("color", A1) where A1 is the cell you want to check.
    5. Read Helper Column: Use PAD to read the values from this helper column, which will give you the color index of each cell.
    6. Filter Data: With the color indices, you can filter your data accordingly within PAD.

    Remember, this method requires you to set up the helper column manually in Excel, as PAD cannot directly read the color of a cell. If you need to identify and work with cell colors frequently, consider using Excel’s built-in features like conditional formatting or VBA macros, which can be triggered from PAD using the ‘Run Excel Macro’ action.

    For more complex tasks or automation, you might need to resort to scripting or using additional tools that can handle such operations directly. However, if you’re looking to stay within the capabilities of PAD, the above steps provide a feasible approach.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard