Excel formula to remove remaining text after coma

mysticmario

Active Member
Joined
Nov 10, 2021
Messages
323
Office Version
  1. 365
Platform
  1. Windows
Hi, see below screenshot. the formula i created produces the result shown above it.
I want to also add a formuala to remove text after the coma. it is the second coma in that full text.
1665063070615.png

I tried using double =find() function, but my brain melted after 40 minutes tryign to make it work, so as usual I seek help with you guys.
Thank you in advance.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Do you have the Textsplit function yet?
 
Upvote 0
Try this:
Excel Formula:
=MID(C62,FIND(",",C62,FIND(",",C62)+1)+1,256)
 
Upvote 0
Sorry, I missed the fact that your version of Excel uses semi-colons instead of commas as argument separators.
So try:
Excel Formula:
=MID(C62;FIND(",";C62;FIND(",";C62)+1)+1;256)
 
Upvote 0
How about
Excel Formula:
=LET(r;REPLACE(C62;1;FIND(",";C62);"");TRIM(LEFT(r;FIND(",";r)-1)))
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0
Sorry, I think I misunderstood the question (I probably should have asked for an example of the expected output).
Glad Fluff got it worked out for you.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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