Cell separator

Hello,
I have a problem separating data into different cells. The data is in the form 1,256,1,132,0,125,-1,253 and I want to have 4 columns with 4 numbers having 3 decimal places. The problem is that I cannot separate them using the character length since it varies from line to line.
Thank you for your responses

Configuration: Windows 7 / Firefox 26.0

9 answers

  • Votes
  • Date
  • Descending date
  1. Contributor
    Hello.

    I believe we need to examine the source of the problem: Why this strange display?
    Who imported the data? You? A colleague? Your boss? You don't know?
    It would actually be enough to better configure the original file, so that the separator is a semicolon instead of a comma, and you would have data like
    1.256;1.132;0.125;-1.253
    which would solve all your problems...

    Best regards.
    --
    Retirement is nice! Especially in the Caribbean... :-)
    ☻ Raymond ♂
    1. I want to separate a list of data that contains only commas; every other comma is a decimal comma and the other is a separator.
      1. Yes, it's on Open Office.
        1. I created some models for professional accounting with OpenOffice Calc.
      2. I think you right-click on the cell / cell property / then you set the corresponding number format. Is that what you need?
        1. no, I don’t have the cell properties tab showing.
          1. I don't have the software installed on my computer, is there ownership?
            I'm in the process of retrieving it!
          2. Excuse me, it's / format the cell
        2. no, it doesn't change anything
          1. Open Office Calc

            Select the cell, right-click / Format Cells /
            Then you have many options to customize the desired cell.
        3. I have set my numbers correctly, but I want to have 4 cells with one number in each cell instead of 4 in one.
          1. Ok, it's clearer now, but the classic functioning of a spreadsheet does not allow for displaying a "divide" result in multiple cells! I believe.
          2. If there is a separator operator, but I can't make it so that it replaces every other comma with a separator
            I thought about writing an algorithm using the find and replace functions to replace every other comma with a period and then use the separator
            but I'm struggling a bit since I'm not very familiar with the open functions.
          3. Ok, it's not going to be easy for me either, I don't know how to code scripts. Happy New Year anyway.
        4. it's a bit late to solve the problem at the source, that's why I'm looking for a direct solution.
          1. If you state the problem more explicitly, it is possible that a developer will respond to you.