Using multiple criteria in subset function and logical operators Using multiple criteria in subset function and logical operators r r