If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Splitting cell contents into 2 cells
If a cell contains a set of numbers separated by a hyphen (eg, 1234-5678, can
the contents be splitted up into 2 cells without the hyphen (ie, 1234 in 1 cell and 5678 in another cell)? |
#2
|
|||
|
|||
Splitting cell contents into 2 cells
You can either do the simple:
Data - Text to columns, delimited by hypen Or, you could try and do: =VALUE(LEFT(A2,FIND("-",A2)-1)) in one cells and =VALUE(MID(A2,FIND("-",A2)+1,999)) in the other. -- Best Regards, Luke M "Florence Tay" Florence wrote in message ... If a cell contains a set of numbers separated by a hyphen (eg, 1234-5678, can the contents be splitted up into 2 cells without the hyphen (ie, 1234 in 1 cell and 5678 in another cell)? |
Thread Tools | |
Display Modes | |
|
|