SOLVED

Conditional Formatting isn't showing until the cell is interacted with

Copper Contributor

I am using Power Automate (Microsoft Flow) to create an Excel spreadsheet and email it to the user - flow is working all fine.

The template which is updated in the flow has icon conditional formatting on the date columns so they should show as red/yellow/green depending on if they are overdue/coming up for renewal/in date, see screenshot:

formattingrule exel.png

however, when the file is emailed it does not show the icons, instead showing the date itself:

Excel error.png

However, if the user double clicks on the cell and hits enter, it then decides to show the formatting as it should:

formattingcorrectexcel.png

 

I cannot for the life of me figure out why this is the case. To make matters more annoying, I have another spreadsheet (a previous iteration of this same project, but it was so old it was easier to recreate rather than edit) which works fine, and when the file is updated it shows the formatting straight away.

 

I'm not too sure if the error here is on the Excel end or the Flow end - I'm assuming excel because otherwise the flow is succeeding and this error is the same both on the emailed copy and the version which is saved to SharePoint as part of the flow.

 

Does anyone have any idea on a fix? It's not a huge issue overall but does make the simple usability of the icon formatting a bit redundant if the user has to manually click on each cell to get the simple view.

 

Thanks!

2 Replies
best response confirmed by misce (Copper Contributor)
Solution

@misce 

Looks like on updating the sheet Flow returns text instead of date, if user re-enter it is converted to date (actually number) and rule works.

 

Microsoft changed about a week ago how date from Excel sheet is recognized by Flow (text in ISO format instead of date). Perhaps that's related change. However, few days ago reverted change back and new version shall be introduced soon. That's somewhere on support page.

 

That's only the guess, I don't know for sure.

@Sergei Baklan  Ah that would certainly make sense considering the old version worked. Thank you, I will hold tight for the update and fingers crossed that fixes my problem!

1 best response

Accepted Solutions
best response confirmed by misce (Copper Contributor)
Solution

@misce 

Looks like on updating the sheet Flow returns text instead of date, if user re-enter it is converted to date (actually number) and rule works.

 

Microsoft changed about a week ago how date from Excel sheet is recognized by Flow (text in ISO format instead of date). Perhaps that's related change. However, few days ago reverted change back and new version shall be introduced soon. That's somewhere on support page.

 

That's only the guess, I don't know for sure.

View solution in original post