Remove the part that beginning with ...

YasserKhalil

Well-known Member
Joined
Jun 24, 2010
Messages
852
Hi everybody
I know that my questions are much
But I know also that you are able to solve any problem
for example
hhhhhh.gfdgfg..gfgfgfg...sdfsdf
I want to remove / get rid of the part after the three dots and the three dots too
the result should be : hhhhhh.gfdgfg..gfgfgfg
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
first off, you need to find out where the "..." is in the string

You can do that using =FIND()

Then you need to chop off the leftmost part of the string up to this point

You can do that using =LEFT()

so you get

=LEFT(A1,FIND("...",A1)-1)

Where cell A1 contains your string

the -1 is to make sure you don't get the first of the three dots (...)

HTH
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,337
Members
452,907
Latest member
Roland Deschain

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