substitute

  1. M

    Token replace between two files with dynamic refresh

    Text Result v1.xlsx contains text strings with [tokens] that need to be replaced with values from a separate file called Stats Token v2.xlsx. I want the tokens to update with values from the latest modified version of Stats Token that resides in the same folder as Text Result on my computer. For...
  2. R

    XREPLACE

    XREPLACE is a powerful find/replace solution allowing for replacing by any or all of four categories, i.e. value and/or count and/or type and/or length; single or multiple elements within each category; and control over priorities of all categories I developed XREPLACE in response to feedback I...
  3. D

    Completely cleaning account numbers and storing with a specific format

    Hi there, I'm interested in setting up VBA that I can use to completely clean account numbers and format them identically, no matter the data source. Just to explain my usecase a bit further, I'm bringing in account data from multiple locations and then running a lot of INDEX MATCH type of...
  4. M

    NEED HELP PLEASE

    HOW DO I GET THE * TO CHANGE TO (a) in superscript. Need the parentheses as well. I tried the replace button, it replaces the whole word as well. I have multiple large files and trying to find the most efficient method For example, i want it to look like this
  5. S

    Find text and replace based on the values of the two columns.

    Hello friends, I have a question about finding the word "pear" in a string I need to write the result in column C ... In column A there is fruit with "Pear" Column B contains other fruit, but also "Pear" If there is a pear in column B, then write the result without "Pear" in column C. The...
  6. L

    substitute within formula, not string

    I have several months' of data in a row, e.g. Col A Col B Col C ... Col U Col V Col W 1 Feb 2022 2 Feb 2022 ... 28 Feb 2022 1 Mar 2022 2 Mar 2022 ... Row 15 Type A 9984 9182 ... 9374 9571 10012 ... Row 16 Type B 24017 23981 ... 24231 24523 24917 ... I refresh this data every...
  7. T

    Substitute, then substitute something else

    Okay, i have no idea what I'm doing. After some toying, i have =IFERROR(TRIM(RIGHT(SUBSTITUTE(LEFT(A4,FIND(" ",A4&" ",FIND("@",A4))-1)," ",REPT(" ",LEN(A4))),LEN(A4)))," ") in order to extract email addresses from stuff like "Bhatia, Tulikaa <Tulikaa.Bhatia@domain.com>" My problem is that i...
  8. S

    Convert a 12 month date to a single cell

    Hello, I have in cell A2 Date in format 18-Nov-2020 UTC I Need format 18.11.2020 in cell B2 I created this formula, but it probably won't be the right way: =(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A3,"Nov","11"),"-",".")," UTC","")) Dates change, so Jan = 1, Feb = 2, Mar = 3, Apr = 4, May = 5, Jun =...
  9. U

    Want to fill and swap values in the cells and column

    I have a excel table in the form below: Level1 Level1- Level2 Level2 Level2- Level3 Level3 Level3- Level4 Level4 a b c d f i j b a d e g g k b e c h d i The Level1 is parent records, Level2 is child records, Level3 is grandchild records and so on... Level1-Level2 is...
  10. E

    Sheet Name But Referencing Column Letter

    Hi, Overall I'm trying to use a filter function with data from a separate sheet. Problem is the data is not very consistent and the column headers move around. I can use the address and match to find my column letter in the other sheet but I want to be able to put it back in to an overall...
  11. E

    Substitute error

    Hello Guys, I m trying to get this forumla below working but i keep getting this error: Unable to get the Substitute property of the WorksheetFunction class Range("M" & cell.Row).Value = Right(cell.Value, Len(cell.Value) - Application.WorksheetFunction.Find("@"...
  12. L

    LEN

    Hi all, I am using a formula which uses LEN and SUBSTITUTE. The formula works (I didn't learn it by building up, I got it from a tutorial), and I understand what LEN and SUBSTITUTE do separately, however, I don't understand what they are doing in this formula. I was hoping anyone would explain...
  13. Blacksmith

    Many Substitutes on single cell of text

    Hello all, First poster and total excel novice here. I've recently been put in charge of a filing system at my workpace, and the software which was previously used was massively out of date and required lots of repetitive work from users. Over the past few weeks I've been iterating on an...
  14. R

    Search and return matches into multiple columns

    Hi All I have a scenario where I'm attempting to extract certain words that appear between double quotes but only if they meet a certain condition. For example I want to search for ALL fruit in column A and present these individually in the subsequent columns. Fruit' = "Pear" OR 'Fruit' =...
  15. The_Rock

    Random Replace Characters in a Word

    Hi Folks I've been scouring the net but without success. I'm hoping the genius's here will be able to help me :-) I'm trying to mock up some work for my daughter to help her with Synonyms and Antonyms. What I would like to do, if possible is: Column D looks at Column F (which will be hidden)...
  16. V

    Split variety of full names into prefix, first name, middle name, last name and suffix using a formula

    Hi, I have a list of thousands of names that need splitting into columns: prefix, first name, middle name, last name and suffix. The full names are varied and therefore the formulas I have tried thus far do not work on the whole list. Formulas I have tried thus far: Prefix...
  17. L

    (substitute, replace) VS replace tool

    Hi I know how and when to use substitute() and replace() function. But my question, I found that Replace tool is doing the same. Is there any case that Replace tool is not going to help then I will have to use substitute() or replace() functions. Thank you very much.
  18. C

    VBA Formula in Loop Where Main Reference is Variable

    Hey everyone, I'm working on making a macro that will organize data for a mail merge. The main table is contains 62 lines of data for each person, with the first cell containing multiple rows. I'm using substitute to get around this. If we aren't in VBA, the formula would be 'Output'!A3 =...
  19. J

    Excel formula (not VBA) to extract delimited string?

    I have the abstract string "firstString/secondString/thirdString/fourthString" in C2. I want to use a single Excel formula (not VBA; no helper cells) to extract "secondString". Any ideas? Note that "*String" is any arbitrary sequence of characters, not including "/". So, the formula must...
  20. P

    Problem replacing/substituting a part of a String variable with a long text string

    Hi I have a macro which runs some SQL code to update a table on a server. The code and SQL has run fine in the past, but I've hit a road block now, seemingly because SUBSTITUTE doesn't seem to like swapping in a really long string (~35k chars) for a short string into a STRING variable. If...

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