Hi, I'm trying to count the number of times a request appears that matches certain conditions. I want the first instance it appears to be 1, and the second instance to be 2 and so forth. Right now, this is what I'm getting when I filter for the requests that meet the conditions I'm looking for. I don't know why it jumps to 17. My formula is below.
=IFERROR(IF(AND(CONTAINS("1st ESCALATION", Notes@row), [Send Missing Information Email to Plants]@row = 1, [1st Escalation date]@row = TODAY()), COUNTIFS(Notes:Notes, "1st ESCALATION", [Send Missing Information Email to Plants]:[Send Missing Information Email to Plants], 1, UI:UI, @cell <= UI@row), IF(AND(CONTAINS("2nd ESCALATION", Notes@row), [Send Missing Information Email to Plants]@row = 1, [2nd Escalation Date]@row = TODAY()), COUNTIFS(Notes:Notes, "2nd ESCALATION", [Send Missing Information Email to Plants]:[Send Missing Information Email to Plants], 1, UI:UI, @cell <= UI@row), IF(AND(CONTAINS("FINAL ESCALATION", Notes@row), [Send Missing Information Email to Plants]@row = 1, [4th escalation date]@row = TODAY()), COUNTIFS(Notes:Notes, "FINAL ESCALATION", [Send Missing Information Email to Plants]:[Send Missing Information Email to Plants], 1, UI:UI, @cell <= UI@row)))), "")
Thank you!