If then Statement on configuration

Hi,

I don't know if my problem have been answered before. I have an assembly model that consists of a box and 2 drawer slides. The drawer slides has many configuration(32" ,34", 36" 38", etc). how can I make an equation so that when the box depth is:

(1) more than 32" but less than 34", solidworks will automatically select the 32" drawer slides configuration,

(2) more than 34" but less than 36", solidworks will automatically select the 34" drawer slides configuration,

(3) etc.

Any ideas on how to resolve my problem will be highly appreciated.

Thanks,

SolidworksGeneral