Strange that you couldn’t get it to work. Maybe try the technique on the default Cube first.
There is also an alternative way, not better, but more general.. Not changing the view, but the orientation.
On a randomly rotated Object in Edit Mode select a Face (in this case. You can also select an Edge…) and go to Transform Orientations:

Click the plus:

Now, in Object Mode you can simply rotate around the Z-axis (in the case of the lid planks by 180°):

It’s good to know several ways, then you can decide which you prefer (also depends on the situation of course).
Good luck!