How to do Nested For Each Excel Row

So I have explained the detail of the process before this, and I have tried the debug mode and step into to see the process workflow but the flow didn’t go to the right direction at the last for each and if activity so that’s what I’m assuming as the error and need some help either I need to do something with the last for each or the if condition that’s not clear? as for the example of my workflow is the same as the picture I put before with the same variable and condition there.