Also go to this site:
Sheldon Brown Gear Calculator, and enter in the actual gearing you have. Then develop a shifting-pattern to avoids cross-chainring and duplicate gears. Even though you have a 24-spd, most of those gears are duplicated and you may have only 12 unique gear-ratios. Such as this sample bike (18-spd with 10 unique gears):