A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
With a value in A2:
=IFERROR(LET(s, SEQUENCE(LEN(A2)), m, ISNUMBER(--LEFT(A2, s)), --LEFT(A2, MAX(m*s))), 0.5)
Fill down.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I need to convert a column of values that are listed with things like "10+ years", <1 year", and "5 years". What formula can I use to convert this. The "10+ years" need to convert to 10 and the "<1 year" needs to convert to 0.5, and all the others I just need the number.
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
With a value in A2:
=IFERROR(LET(s, SEQUENCE(LEN(A2)), m, ISNUMBER(--LEFT(A2, s)), --LEFT(A2, MAX(m*s))), 0.5)
Fill down.