Hi All,
I posted yesterday in relation to a XLOOKLUP query I had. Thank you that got resolved with the forums help Another day today and I have another complex problem so any support would be appreciated as I'm learning too.
My unsuccessful method
I posted yesterday in relation to a XLOOKLUP query I had. Thank you that got resolved with the forums help Another day today and I have another complex problem so any support would be appreciated as I'm learning too.
- I have a number of ID values (Will call these X) on worksheet 1. These X values correspond to another set of IDs (Will call these Y) on worksheet 2 that have status associated with them FAIL, BLOCKED, etc..
- The X values can appear more than once so there are different Y IDs and status that correspond with each X value
- I need the condition to stop once a certain status is met, so for IDX-1 if the status is failed at all then the remaining status does not matter no matter how many times the value appears.
ID X VALUE (WORKSHEET 1) | CORRESPONDING Y VALUE (WORKSHEET 2) | CORRESPONDING STATUS (WORKSHEET 2) |
IDX-1 | IDY-11 | FAIL |
IDX-1 | IDY-33 | PASS |
IDX-1 | IDY-44 | BLOCKED |
IDX-2 | IDY-100 | PASS |
My unsuccessful method
- I was first trying to do a XLOOKUP to find the corresponding values of Y since this is on another worksheet and return the status. Since the values of X can be found in 4 columns in the lookup array on worksheet 2 I was concatenating using the & for each column.
- I was then trying to use IF function to try and stop the the return results once it had found the first fail