Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have the following field titled Path as part of a full query, that
has the following format of data, each row in the same format but different text. /Community & Government/Social & Human Services/Individual & Family/Abuse/ Other rows in this field contain just /Community & Government/Social & Human Services/ 0r /Community & Government or A/ I am looking to run the query so it returns only listings that contain the four /../../../../ and then seperate the four into seperate fields. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You could use the length of the field as a check:
=LEN(A1) or the length without slashes: =LEN(SUBSTITUTE(A1,"/","")) or the number of slashes: =LEN(A1) - LEN(SUBSTITUTE(A1,"/","")) Use Data | Text to Columns to split the field up Regards Trevor "Finger Tips" wrote in message ... I have the following field titled Path as part of a full query, that has the following format of data, each row in the same format but different text. /Community & Government/Social & Human Services/Individual & Family/Abuse/ Other rows in this field contain just /Community & Government/Social & Human Services/ 0r /Community & Government or A/ I am looking to run the query so it returns only listings that contain the four /../../../../ and then seperate the four into seperate fields. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks Trevor. WHat do you mean by Use Data | Text to Columns to split the
field up. I would like the items between each / to be placed in 4 seperate columns. Shuttleworth" wrote: You could use the length of the field as a check: =LEN(A1) or the length without slashes: =LEN(SUBSTITUTE(A1,"/","")) or the number of slashes: =LEN(A1) - LEN(SUBSTITUTE(A1,"/","")) Use Data | Text to Columns to split the field up Regards Trevor "Finger Tips" wrote in message ... I have the following field titled Path as part of a full query, that has the following format of data, each row in the same format but different text. /Community & Government/Social & Human Services/Individual & Family/Abuse/ Other rows in this field contain just /Community & Government/Social & Human Services/ 0r /Community & Government or A/ I am looking to run the query so it returns only listings that contain the four /../../../../ and then seperate the four into seperate fields. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If you select the cells with data separated by slashes and then, from the
Menu bar select: Data | Text to columns ... | Delimited by | Other | / that's exactly what it will do ... split the field into separate cells. You choose where. Regards Trevor "Finger Tips" wrote in message ... Thanks Trevor. WHat do you mean by Use Data | Text to Columns to split the field up. I would like the items between each / to be placed in 4 seperate columns. Shuttleworth" wrote: You could use the length of the field as a check: =LEN(A1) or the length without slashes: =LEN(SUBSTITUTE(A1,"/","")) or the number of slashes: =LEN(A1) - LEN(SUBSTITUTE(A1,"/","")) Use Data | Text to Columns to split the field up Regards Trevor "Finger Tips" wrote in message ... I have the following field titled Path as part of a full query, that has the following format of data, each row in the same format but different text. /Community & Government/Social & Human Services/Individual & Family/Abuse/ Other rows in this field contain just /Community & Government/Social & Human Services/ 0r /Community & Government or A/ I am looking to run the query so it returns only listings that contain the four /../../../../ and then seperate the four into seperate fields. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to make a field created a part of the Pivot Table Field List? | Excel Discussion (Misc queries) | |||
How do I seperate a full name field out into three seperate columns? | Excel Worksheet Functions | |||
seperate first 2 lines of column in seperate columns in same row | Excel Discussion (Misc queries) | |||
How do I seperate data from a pivot into seperate worksheets? | Excel Discussion (Misc queries) | |||
how do i seperate data from one column into two seperate ones in . | Excel Discussion (Misc queries) |