A non-iterative formula for straightening fillings of Young diagrams