In Excel - I have a file containing over 2,000 rows which has "within column "A" on each row a number of data elements that are not the same length which I need to separate.
Note: The data within each row is listed in the following order -
1. the address (differnet length/number of characters)
2. the city name (6 possible)
3. the gas tank capacity (amount of fuel)
4. the time of day
The format/sample of the data on each row is as follows:
1700 Penn Ave NE Washington 1/4 full 12:00
123 Main ST NW Baltimore Full 10:00
1. I need to know if I can pull the "address" from cells A1 thru A2000 (which contains the string of data) into a second cell (B1 thru B2000) by saying I want everything to the left of the "city name". Note: There are 6 different names of cities, but I could use the same formula 6 times by changing the city name or inserting some type of if statement.
2. Each row also contains the volume within a gas tank and has 5 different possible felds ("Empty", "1/4 Full", "1/2 full", "3/4 full" or "full"). Question - I need to show which of these 5 elements are on each row from data contained in xolumn "A").
Any help with any of the 2 questions would be most helpful.
Thanks
Note: The data within each row is listed in the following order -
1. the address (differnet length/number of characters)
2. the city name (6 possible)
3. the gas tank capacity (amount of fuel)
4. the time of day
The format/sample of the data on each row is as follows:
1700 Penn Ave NE Washington 1/4 full 12:00
123 Main ST NW Baltimore Full 10:00
1. I need to know if I can pull the "address" from cells A1 thru A2000 (which contains the string of data) into a second cell (B1 thru B2000) by saying I want everything to the left of the "city name". Note: There are 6 different names of cities, but I could use the same formula 6 times by changing the city name or inserting some type of if statement.
2. Each row also contains the volume within a gas tank and has 5 different possible felds ("Empty", "1/4 Full", "1/2 full", "3/4 full" or "full"). Question - I need to show which of these 5 elements are on each row from data contained in xolumn "A").
Any help with any of the 2 questions would be most helpful.
Thanks