Hi all,
I just started using using the match formula along with index formula and am enjoying how powerful it is. I am wondering if you could help me figure out if there's another function that would better suited for my need.
I'm trying to figure out what percentile a value belongs in given this information.
5th 10th 15th 20th
Patient Satisfaction 65.65 68.0 70.1 72.8
Death in ICU 0 0 2.0 2.8
The match and index function works great in the patient satisfaction example above(higher percentile deemed more favorable) because a value of 69.8 returns the 10th percentile. The match function does what finds the largest value that is less than or equal to the lookup value, returning 2. Match(69.8,B1:E1,0)
However in the case where death in the ICU (lower percentile deemed more favorable), the same match function returns the 10th percentile for the value of 0 and I was wondering if there's anyway for it to return the smaller percentile if there is another column (Lower is better)that identifies which measure this rule applies to.
Thank you for any help you can lend.
I just started using using the match formula along with index formula and am enjoying how powerful it is. I am wondering if you could help me figure out if there's another function that would better suited for my need.
I'm trying to figure out what percentile a value belongs in given this information.
5th 10th 15th 20th
Patient Satisfaction 65.65 68.0 70.1 72.8
Death in ICU 0 0 2.0 2.8
The match and index function works great in the patient satisfaction example above(higher percentile deemed more favorable) because a value of 69.8 returns the 10th percentile. The match function does what finds the largest value that is less than or equal to the lookup value, returning 2. Match(69.8,B1:E1,0)
However in the case where death in the ICU (lower percentile deemed more favorable), the same match function returns the 10th percentile for the value of 0 and I was wondering if there's anyway for it to return the smaller percentile if there is another column (Lower is better)that identifies which measure this rule applies to.
Thank you for any help you can lend.