Hi!
I use this formula to find a string of "0196". Wondering if there is a way to add more strings for it to find? Like if it finds 0196 or 0249 to perform the formula?
=TEXTBEFORE(MID(A2,FIND("0196",A2),255),{" ","."})
I've tried adding it in the {} like the delimiters are, but then it's using two columns instead of just one. - IE I have the formula in cell C3, and it's searching for 0196 there and 0249 in D3. I hope this makes sense!
In case you need some dummy data....
Company ABC 0196-9999 Rate Sheet 01-01-2025
Company XYZ 0249-9999 Rate Sheet 01-01-2025
I'd like the formula to pull out 0196-9999 or 0249-9999 with these, in the cell the formula is in. The formula above works for the 0196, but I cannot figure out how to incorporate the 0249. There may be more I need to add later I'm sure when I get a working formula for this, it'll be easy to add more as needed.
Any help is greatly appreciated!
I use this formula to find a string of "0196". Wondering if there is a way to add more strings for it to find? Like if it finds 0196 or 0249 to perform the formula?
=TEXTBEFORE(MID(A2,FIND("0196",A2),255),{" ","."})
I've tried adding it in the {} like the delimiters are, but then it's using two columns instead of just one. - IE I have the formula in cell C3, and it's searching for 0196 there and 0249 in D3. I hope this makes sense!
In case you need some dummy data....
Company ABC 0196-9999 Rate Sheet 01-01-2025
Company XYZ 0249-9999 Rate Sheet 01-01-2025
I'd like the formula to pull out 0196-9999 or 0249-9999 with these, in the cell the formula is in. The formula above works for the 0196, but I cannot figure out how to incorporate the 0249. There may be more I need to add later I'm sure when I get a working formula for this, it'll be easy to add more as needed.
Any help is greatly appreciated!