The cable pattern is a 24 row repeat and the other stitch panels are an 8 row repeat, is that correct? If so, yes, you've got exactly the right idea. Work row 1 of the other stitch panels and row 9 of the cable panel, row 2 of the other panels and row 10 of the cable panel and so on. When you come to the end of the second 8 row repeat, start it again but continue on with the cable panel.
I keep 2 row counters going to make sure I match up the patterns or else keep track with pencil and paper.