+ Reply to Thread
Results 1 to 2 of 2

Replace/substitute after this formula

  1. #1
    Registered User
    Join Date
    12-06-2019
    Location
    Rotterdam
    MS-Off Ver
    2016
    Posts
    6

    Replace/substitute after this formula

    Hello all,

    I have a column with a lot of data combined with subtotals. I changed the format of the subtotals with the formula below:


    =IF(ISNUMBER(SEARCH("Total";J1));RIGHT(J1;LEN(J1)-FIND(" ";J1;1))&" "&LEFT(J1;FIND(" ";J1;1)-1);J1)


    So it the cell J1 contains: 123456 Total then cell K1(where I paste the formula) contains: Total 123456

    So far so good. But we have to translate the word total to different languages. So here we can use ctrl+h and replace total by e.g. Gesamtsumme. But is it possible to build this in the formula? Like a double function? If the cell contains the word total then first translate to Gesamtsumme followed by the formula above.

    Would really appreciate a reaction! I understand that an extra column with replace/substitute is possible, but ctrl+h is also very fast. So only a solution that beat ctrl+h

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Replace/substitute after this formula

    Will you definitely have Total to begin with (i.e. in J1), or might that also be in a different language?

    How many languages do you wish to cater for?

    Is there some cell somewhere that you can use to specify the destination language that you want to use, and indeed the source language that you are trying to convert from (in another cell)?

    It strikes me that you can have a lookup table listing the languages (or an abbreviation) and then the appropriate words in each language in an adjacent column, then in the SEARCH function you can have a VLOOKUP function for the source word and you can have another VLOOKUP function to replace the LEFT term.

    Hope this helps.

    Pete

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Need help with simple REPLACE / SUBSTITUTE formula for 2 pivot tables
    By Megs35 in forum Excel Formulas & Functions
    Replies: 33
    Last Post: 10-24-2017, 12:24 AM
  2. [SOLVED] Tricky SUBSTITUTE or REPLACE
    By bibu in forum Excel General
    Replies: 7
    Last Post: 03-16-2014, 01:38 PM
  3. [SOLVED] Substitute formula - i want to replace cell containing special characters "??????*"
    By karthikskengeri in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-14-2013, 06:21 AM
  4. [SOLVED] substitute/replace until
    By JanRaven in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-02-2012, 12:03 PM
  5. Replace or substitute formula maybe? Not sure what one to use?
    By essexpoker in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-24-2008, 11:25 AM
  6. [SOLVED] [SOLVED] Replace/substitute
    By Viktor Ygdorff in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-17-2006, 09:40 AM
  7. Substitute/Replace
    By Viktor Ygdorff in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-17-2006, 07:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1