I copied sport's schedule from website into my Excel Sheet.
In a column (let's say Column 'A') I have this text:
A1 : San Francisco v New York
A2 : Miami v Detroit
A3 : New York v Miami
etc...
I want to create 2 columns:-
In one Column (lets say Column 'B') to keep the FIRST PART of the text (of Column 'A'), and that is:- San Francisco
In next Column (lets say Column 'C') to keep the SECOND PART of the text (of Column 'A'), and that is:- New York
Problem: What is the function/formula I should type in Columns B and C to make it happen ?
(The formula/function to be used should make use of space, v, space that appear in every cells in Column 'A')
In my previous posting, I got reply asking me to type in Column 'B' and 'C' the following:
in B1 :
=LEFT(A1,FIND(" v",A1&" v"))
and in C1 :
=SUBSTITUTE(A1,B1&"v ","")
The problem I just discovered is that the data resulted in Column 'B' have a space at the end of the team's name, whereas in Column 'C', there isn't.
This inconsistency will effect my data manipulation later, for example, when I need to total up all match points by a particular team, let's say New York ?
I experimented by adjusting formula in B1 to become as below :
=LEFT(A1,FIND(" v",A1&" v")-1)
and it successfully eliminated (in Column 'B') the space at the end of the team's name BUT the data in C1 become WRONG in that all the text in A1 appeared in C1.
So, anyone with better method ?
Pls HELP !!!
In a column (let's say Column 'A') I have this text:
A1 : San Francisco v New York
A2 : Miami v Detroit
A3 : New York v Miami
etc...
I want to create 2 columns:-
In one Column (lets say Column 'B') to keep the FIRST PART of the text (of Column 'A'), and that is:- San Francisco
In next Column (lets say Column 'C') to keep the SECOND PART of the text (of Column 'A'), and that is:- New York
Problem: What is the function/formula I should type in Columns B and C to make it happen ?
(The formula/function to be used should make use of space, v, space that appear in every cells in Column 'A')
In my previous posting, I got reply asking me to type in Column 'B' and 'C' the following:
in B1 :
=LEFT(A1,FIND(" v",A1&" v"))
and in C1 :
=SUBSTITUTE(A1,B1&"v ","")
The problem I just discovered is that the data resulted in Column 'B' have a space at the end of the team's name, whereas in Column 'C', there isn't.
This inconsistency will effect my data manipulation later, for example, when I need to total up all match points by a particular team, let's say New York ?
I experimented by adjusting formula in B1 to become as below :
=LEFT(A1,FIND(" v",A1&" v")-1)
and it successfully eliminated (in Column 'B') the space at the end of the team's name BUT the data in C1 become WRONG in that all the text in A1 appeared in C1.
So, anyone with better method ?
Pls HELP !!!