Merge Some Conditions and Format