Understanding the requirement is often harder than the final solution.
Power Query shenanigans, but does it fold?