Automatically find C from range