0

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.

2
  • What have you tried so far? Any code? Commented Jun 6, 2017 at 14:12
  • Thanks @OrkhanAlikhanov. I don't know how to write this sort of formula. Commented Jun 7, 2017 at 3:34

2 Answers 2

1

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))
Sign up to request clarification or add additional context in comments.

1 Comment

Thanks A.S.H. Your first formula works for me. Thanks
0

Another approach is to find the text "item" as follows:

=MID(A1,FIND("item",A1,1),LEN(A1))

you can change the text you search for as necessary and it does not matter how many are before the text you search for as long as it only occurs once.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.