Hello everyone
I hope you're doing well. I'm reaching out because I'm facing a challenge with automating a process in Power Automate Desktop involving the comparison of consecutive rows in an Excel workbook.
Scenario:
I have an Excel workbook containing ordering data, and I want to automate the process of ordering products from a supplier website by comparing the postal code and address between consecutive rows to identify if both items are ordered by the same person. I aim to order items in bulk until I encounter a different postal code or address. If the postal code and address between consecutive rows are different, I will order items one by one, assuming they are ordered by different people.
Challenge:
While I've managed to set up the basic structure, I'm struggling with the implementation details, particularly regarding:
- Dynamically reading data from the current row and the next row within the "For Each" loop.
Specific Questions:
- How can I dynamically read data from the current row and the next row within the "For Each" loop in Power Automate Desktop?
- What is the best approach for comparing data between consecutive rows in Excel using Power Automate Desktop?
- How can I update rows in Excel based on the comparison result within the automation?
I would greatly appreciate any guidance, tips, or sample workflows that can help me overcome this challenge. Thank you for your assistance!
Best regards,
Suraj