olimajor123
Board Regular
- Joined
- Nov 13, 2013
- Messages
- 72
Hi,
Was not sure what to name the topic to best describe this.
I have an INDEX, MATCH formula that looks up a list of categories to return a response time based on the category. This works fine. However I have an issue that if a person can't be allocated into a category, it automatically uses their name as the category, which presents infinite possibilities for the category name. I am looking to write into the formula something that says 'IF you can't find the category in the list, then assume the category is "Patient Moves"'
My formula is currently,
=IFERROR(INDEX(SLA!$C$3:$C$160,MATCH(Data!E2,SLA!$A$3:$A$160,0)),"")
where SLA!C is the Category to return from the table
and DATA!E is the category to look up
Was not sure what to name the topic to best describe this.
I have an INDEX, MATCH formula that looks up a list of categories to return a response time based on the category. This works fine. However I have an issue that if a person can't be allocated into a category, it automatically uses their name as the category, which presents infinite possibilities for the category name. I am looking to write into the formula something that says 'IF you can't find the category in the list, then assume the category is "Patient Moves"'
My formula is currently,
=IFERROR(INDEX(SLA!$C$3:$C$160,MATCH(Data!E2,SLA!$A$3:$A$160,0)),"")
where SLA!C is the Category to return from the table
and DATA!E is the category to look up