FIND character function and extracting data

moe10134

Board Regular
Joined
Sep 8, 2005
Messages
162
Office Version
  1. 2019
Platform
  1. Windows
Hello,

I am inquiring about a FIND formula or something different that will help me find the 3rd or 4th place of a specific symbol instead of having to count the number of letters including spaces to get the total character number I need. Does anyone know a formula that I can recognize the third "=" in the following statement?

Here is an example of the text in A1: <img width="640" alt="B67301_RED" src="https://embed.radar.net/img/cnh/tekufl67v6/640px/B67301_RED.jpeg?u=js6tkf">

Normally, I would have a formula in cell A2 [=FIND("=",A1,36)] meaning that the third "=" is the 36 character in the A1 text. But, Not all "=" are the 36th character when doing an =FIND in different text.

In multiple cells I would do a =LEN formula in cell A3 and generate a count of the different from the =FIND and =LEN. Then using a =RIGHT formula to extract the total number of characters from the subtraction formula leaving everything from the third "=".

Here is an example of the text in A1: (i mg width="640" alt="B67301_RED" src= "https://embed.radar.net/img/cnh/tekufl67v6/640px/B67301_RED. jpeg?u=js6tkf")

(*Have to add additional space characters to the URL because of HTML coding in this message.)

A2 = [=FIND("=",A1,35)] = 37
A3 = LEN(A1) = 113
A4 = subtracting the difference from A3-A2 Formulas = 75
A5 = [=RIGHT,A1,A4)


I'm looking for something that will provide me with finding the third "=" in the text in cell A1. I am basically looking to extract the text: [https://embed.radar.net/img/cnh/tekufl67v6/640px/B67301_RED.jpeg] from the following original text in A1. There are 3 "=" signs and I need to extract everything after that third "=". I can do a Find/Replace or = SUBSTITUTE formula to get rid of the [?u=js6tkf">] text at the end.

But, If anyone knows a formula that will extract the text: [https://embed.radar.net/img/cnh/tekufl67v6/640px/B67301_RED.jpeg] from the example text no matter how long the text is and what number character the third "=" is, along with even eliminating the [?u=js6tkf">] at the end would be great.

Any suggestions? Thank you kindly!
 
Last edited:

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Try this

=REPLACE(A1,1,FIND("^",SUBSTITUTE(A1,"=","^",3)),"")

The ^ can be any character (or string of characters) you choose that is least likely to actually appear in the original string.
 
Last edited:
Upvote 0
Try this

=REPLACE(A1,1,FIND("^",SUBSTITUTE(A1,"=","^",3)),"")

The ^ can be any character (or string of characters) you choose that is least likely to actually appear in the original string.

Thank you very much! This is a great help. This will save me a lot of time. =)
 
Upvote 0

Forum statistics

Threads
1,215,444
Messages
6,124,893
Members
449,194
Latest member
JayEggleton

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top