View New Posts
  1. #1

    Default Excel question

    Is there any way to separate the contents of a cell without doing it manually?

    Basically I've got a list of cells, all with a team name and an odds number in each one, and I want to split the cells into two, one with the team name, and one with the number.

    So right now in each cell I have:

    Boston -120
    NY +110

    etc etc

    and I want to split up those cells into two distinct columns, one with the team and one with the number, and I'm wondering if there is any way to do that without doing each one manually.

    I haven't been able to find a way.

  2. #2

    Default

    There is a text to columns option on the data menu. It is pretty straight-forward to use.

  3. #3

    Default

    I know you have to use phrases like this but you need to play with it

    =RIGHT(A1,LEN(A1)-MAX(IF(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)=" ",ROW(INDIRECT("1:"&LEN(A1))),0)))

    SBR Founder Join Date: 7/20/2005


  4. #4

  5. #5
    durito's Avatar SBR PRO
    Join Date: 07-03-06
    Posts: 13,093
    Message Me

    Default

    As JJ alludes.

    You can use the commands LEFT, RIGHT, and MID to separate.

  6. #6

    Default

    I've always just done it the way element and LT suggest, HG.

  7. #7
    durito's Avatar SBR PRO
    Join Date: 07-03-06
    Posts: 13,093
    Message Me

    Default

    Do it like this:

    =RIGHT(Cell,4)

    With 4 being 4 places from the right, then copy through the other cells

  8. #8

Top