What is the formula to remove a character first and last of the text in a cell?
Example" *123456789*, i want to remove the * in the beginning and end
I tried this formula but i can only remove the first =MID(CELL, FIND("*", CELL) + 1, LEN(CELL))
What is the formula to remove a character first and last of the text in a cell?
Example" *123456789*, i want to remove the * in the beginning and end
I tried this formula but i can only remove the first =MID(CELL, FIND("*", CELL) + 1, LEN(CELL))
Last edited by angie_lin; 04-17-2024 at 04:03 AM.
Administrative Note:
Is your forum profile showing the Excel PRODUCT that you need this to work for?
Members will tailor the solutions they offer to the Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your product is for Mac, please also state this.
The three most recent Excel products are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the version number in your profile (e.g. MS365 Version 2306). This is in the About Excel section further down the Account page.
Thanks.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
You could try this:
=--SUBSTITUTE(A1,"*","")
=SUBSTITUTE(C1,"*","")
This worked !!!! Thank you
Please update your forum profile with your current version of Excel.
Glad to have helped.
If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.
Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks