I have excel sheet. Using Power Automate flow I am reading the excel data. Using create item action adding the record in SharePoint list. It will not work if the date is empty or null

Column A | Date Col

1 | 1/1/2020

2 | 2/2/2020

3 |

It will gives error for 3rd row due to empty column. In Power Automate flow can we check if date is not empty or null?


Try using below expression in Condition action inside "Apply to each" on excel rows:

@equals(empty(items('Apply_to_each')?['DateCol']), bool('True'))

Source: Check for empty cells in Excel

If you are not able to able to use the advanced mode for conditions, use below:

Left condition: empty(items('Apply_to_each')?['DateCol'])

Operator: is equal to

Right Condition: bool('True')

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.