I have a column with values like /i/t/item_xxl_12063874_18123233.jpg. I need a formula to get a string value item_xxl_12063874_18123233.jpg.
-
What have you tried so far? Any code?Orkhan Alikhanov– Orkhan Alikhanov2017-06-06 14:12:53 +00:00Commented Jun 6, 2017 at 14:12
-
Thanks @OrkhanAlikhanov. I don't know how to write this sort of formula.abu abu– abu abu2017-06-07 03:34:51 +00:00Commented Jun 7, 2017 at 3:34
Add a comment
|
2 Answers
If it's always to remove the first 5 characters, simply
=MID(A1, 6, 9999)
BUT if it is about retrieving what is after the last /, with a random amount of characters before it, then it is a little more tricky:
=TRIM(RIGHT(SUBSTITUTE(A1, "/", REPT(" ", 300)), 300))
1 Comment
abu abu
Thanks A.S.H. Your first formula works for me. Thanks