Carry yarn up the edge when the next stripe in that color starts on the same side where you left its strand and the gap is short enough to secure neatly. In ordinary turned rows, two rows bring you back to the starting side. Draw where each color stops and starts before deciding how often to cut the yarn.
Mark where the old color waits
Choose a left and right edge as seen from one face of the blanket. Follow the direction of each row on your drawing, even though you turn the work in your hands. Mark the edge where you set a color down and the edge where you need to pick it up again. The example starts at the left. If you start at the right, mirror the directions.
For two rows of cream, then two of clay, start the first cream row at the left. After the second cream row, the cream strand waits at the left. The two clay rows return to that side, so the cream is there for its next stripe. With one row of each color, cream is left at the right after row one but needed at the left after row two. Cut and rejoin that color for this simple repeat.
For an uneven sequence or three or more colors, track each strand individually. Some patterns work single-row stripes with a different setup. Use the actual start and finish positions in your pattern to make the call.
Check the edge while the strand is still adjustable
When you pick up a parked strand, let the blanket edge rest at its normal length. Leave enough yarn to span the rows comfortably, then check the edge lies flat. A strand that draws the edge inward is too tight. A loose loop that stands away from the side can catch. Tamara Kelly's side-carry demonstration shows the tension trade-off and how a carried strand can be held at a row end.
Check the distance as well as the row count. Two tall rows can leave a longer gap than two short rows. If a color returns only after a wide band or several other shades, try securing the carried yarn as your pattern shows, or cut and rejoin it. You can make this choice separately for each color. For an example, Sewrella's Cake Stripe Blanket carries its main yarn and cuts the contrast yarn because those floats would be more visible.
Test the border with the carried yarn in place
Make a sample of at least two color returns, then work a short section of the intended border. Look at both faces. An open edge can leave a high-contrast strand visible. A thicker yarn can add a ridge along the side. If the edge puckers or catches after your trial, adjust the carry or cut the troublesome color before making the full blanket.
Write down which colors you will carry, which you will cut and how you will cover or secure the carries. Keep room in your per-color yarn estimate for the vertical strands you actually use and the tails you still need to weave in.
Keep planning your blanket
Examples illustrate the arithmetic; they are not physical project tests. Send a correction.