+ Reply to Thread
Results 1 to 4 of 4

How to convert list separator in formula with strings according to locale

  1. #1
    Registered User
    Join Date
    09-07-2020
    Location
    Brussels
    MS-Off Ver
    Professional Plus 2016
    Posts
    14

    Question How to convert list separator in formula with strings according to locale

    I have a workbook with several formulas like the following one:

    Please Login or Register  to view this content.
    My problem is that when opening the excel file from a system using a different locale - and more specifically different list separators (";" instead of ",") the commas inside
    Please Login or Register  to view this content.
    are not converted, since they are considered as strings. All the other commas, however, are converted, so the formula results in #REF! error.

    How could I get excel to treat those "," as list separators, and thus convert them too to ";"? Is there some sort of generic reference to list separator, which I could use instead of the comma inside those strings?

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,908

    Re: How to convert list separator in formula with strings according to locale

    Why do you want to include the header row as a matter of interest? Doesn't usually make sense in a MATCH formula.
    Rory

  3. #3
    Registered User
    Join Date
    09-07-2020
    Location
    Brussels
    MS-Off Ver
    Professional Plus 2016
    Posts
    14

    Re: How to convert list separator in formula with strings according to locale

    Quote Originally Posted by rorya View Post
    Why do you want to include the header row as a matter of interest? Doesn't usually make sense in a MATCH formula.
    B34 contains the name of a table on another sheet (="getDataM"). So with

    Please Login or Register  to view this content.
    I am referring to the LOOKUP column of that table, which contains a code I want to match. There are many tables on the same sheet with a column named LOOKUP, and there is the risk that a code might not be unique outside of each table, hence I wrote the formula this way. Would there be a better way to do this?

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: How to convert list separator in formula with strings according to locale

    I don't have a way to test this, however you might try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Convert joined text strings into a formula
    By aquixano in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-06-2019, 10:09 AM
  2. CDate fails to convert when system in different locale
    By bagullo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-11-2016, 06:19 AM
  3. [SOLVED] Convert Numbers to Strings - Need Formula
    By Alan3285 in forum Excel General
    Replies: 8
    Last Post: 03-12-2015, 11:31 PM
  4. Convert Columns to text file with a separator of |
    By Mquattrone in forum Excel General
    Replies: 8
    Last Post: 08-14-2014, 11:14 PM
  5. Locale Based Date Formula
    By kranthis11 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-10-2012, 04:21 PM
  6. Convert ASCII Character strings into HEX Strings
    By Chris Mathers in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-13-2010, 12:25 PM
  7. Convert date format from string to separator
    By masterp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-22-2006, 07:16 AM

Tags for this Thread

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