Assignment Matrix category wise selection