Hi there!
I'm working on a formula that I need to add a criteria that if the Tracking Status column contains "In Review", it will return the cell value from the index.
Here is what I have that is working, but unfortunately, will pull in anything with the matching subject even if it's Tracking Status "Expired":
=IFERROR(INDEX(COLLECT({Value from Column I'd Like Returned When Criteria Met}, {Helper Sheet Subject Column}, [Main Sheet Subject Column]@row, {Helper Sheet Row ID Number}, MIN(COLLECT({Helper Sheet Row ID Number}, {Helper Sheet Subject Column}, [Main Sheet Subject Column]@row))), 1), "")
The gist is:
- I have a helper sheet that contains two copies of the same row from the main sheet
- each row is auto-numbered in sequence from when it was copied over to the helper sheet
- the formula in main sheet column A is asking to return value from a column in helper sheet based on matching the Subject column from main and helper sheet. The formula is also asking for it to return the MIN row number of the two copies of the same row in the helper sheet.
- there is also another formula in main sheet column B that is asking to return value from a column in helper sheet based on matching the Subject column from main and helper sheet. This formula is asking for it to return the MAX row number of the two copies of the same row in the helper sheet.
I'm trying to add an additional criteria CONTAINS to this formula that only returns value wanted above if the helper sheet Tracking Status column contains "In Review".
Each time I try to add it, I get #INCORRECT ARGUEMENT SET.
HELP PLEASE!