159
Views
4
Comments
Solved
[Advanced Excel] check cell background color of imported excel
advanced-excel
Service icon
Forge asset by Carlos Freitas
Application Type
Reactive

Hi Everyone,

Is anyone know how to validate the cell background color of the uploaded excel file


For example, I have an excel file with the red background color of the cell C2


after clicking the upload button the server action will validate the cell if the background is red then true if not false.

Take note: I used an advanced excel extension.

I'm not sure if I am using the correct server action.

Thank you in advance

2025-09-25 22-50-38
Hanno
Solution

Hi Ruzzel

The action you used will give you the conditional format rules and not the evaluated result (whether the cell is red or green). If you refer to the description of that action, it says "Get a list of all the conditional formatting rules in a worksheet. "

I don't believe there is a way to achieve what you want with the current implementation.

Hanno


UserImage.jpg
Ruzzel John Bisnar

Hi Hanno

Yes, I think what I want is not achievable in advance excel.

Thank you

2022-09-29 10-53-19
José Campos

Hi Ruzzel,


I'm not sure if it is possible to check a cell background color through the Service Studio.

Perhaps you can implement a action with the Integration Studio.

This cell contains dates like in the image you posted?

The red background means that is a overdue date?

If yes, can't you check the value of the cell instead its background?

UserImage.jpg
Ruzzel John Bisnar

The date is the work schedule of the employee

The red background means that the specific schedule is a peak day.

So once I upload a work schedule with red background cell color.

The value will be:

Employee Number: 0-101
Employee Name: JohnDown
Work Schedule: 2022-09-01
IsPeakDay?: True


2025-09-25 22-50-38
Hanno
Solution

Hi Ruzzel

The action you used will give you the conditional format rules and not the evaluated result (whether the cell is red or green). If you refer to the description of that action, it says "Get a list of all the conditional formatting rules in a worksheet. "

I don't believe there is a way to achieve what you want with the current implementation.

Hanno


UserImage.jpg
Ruzzel John Bisnar

Hi Hanno

Yes, I think what I want is not achievable in advance excel.

Thank you

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.