I made typo in one of my formulas but it still returned the desired result. I want to understand so I don't end up with unintended results down the line.
My goal is to extract the data that follows "Set 4:". So in this case the formula should return "0101". It should always return the data that follows "Set 4:". My confusion stems from the "- 5" at the end of the formula. The formula works as long as that final term is greater than or equal to - 5. Please help me understand why this is the case.
Data in column FUND:
[Set 1: 001
Set 2: 003
Set 3: 009
Set 4: 0101]
Formula:
=IFERROR(MID(FUND@row, FIND("Set 4:", FUND@row) + 6, LEN(FUND@row) - FIND("Set 4:", FUND@row) - 5), "")
I know i can use RIGHT here, but I was using MID with the other values. Please let me know if there is a compelling reason to use RIGHT or some other function.
Thank you!