Nathan Tyson tapped in the winner from Liam Mandeville’s cross with 10 minutes remaining at The Shay on Saturday.
Mandeville gave Town the lead in the first-half but the hosts equalised through Darren Stephenson.
Victory means the Spireites finish sixth and will play Notts County away in the play-off eliminator round next Saturday.
Here are Liam Norcliffe’s player ratings from the game and a dramatic day in West Yorkshire. ..

5. George Carline 8
His long throw was flicked on which Mandeville finished for the opener. He had a really busy first-half and was a real threat going forward. Town had a lot of joy hitting him on the diagonal in the air. Tested Halifax goalkeeper Johnson with a half-volley at the back post after the break. Photo: Jim Fitton

6. Manny Oyeleke 7
He had a good game in general, particularly second-half in stopping Halifax's counters, but he was at fault for Halifax's equaliser when he let the ball run across his body in the box which Stephenson pinched and finished well. But he made up for it with a top clearance off the line early after the break. Photo: Jim Fitton

7. Curtis Weston 8
Worked hard to stop Halifax counters and kept the ball ticking over in midfield. A big effort considering he is nursing an injury. Photo: Jim Fitton

8. Joel Taylor 6
Rowe said he subbed him off at half-time for 'tactical' reasons. He said the full-back was not 'tucked in' enough in the build-up to Halifax's equaliser. Photo: jason chadwick

