Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

Separating info in a report

I have a lot of rows of data that I need to separate some information in one column.  The data lists a thread size description like:

1-8 X 10-1/2 B7 STUD
1-8 X 11 B7 STUD
1 1/8-8 X 15 1/4 B7 STUD
1 1/8-8 X 14-1/2 B7 STUD

I want to separate this information and pull out the size of the thread, which is displayed before the "X" in one column and then put the lengh of the thread, which is displayed after the "X" in a separate column.

Column 1 would look like this now"

1 1/8-8
1 1/8-8

Column 2 would look like this:

10 1/2
 15 1/4

The number of characters to the left and right of the "X" will vary but it will always have the "X" and it will always say "B7 STUD" after the size.

I would prefer to do this in Crystal 2008 but if that can't be done then I can export the report into Excel and fix it there.
1 Solution
Ido MilletProfessor of MIS at Penn State Erie and Owner, Millet SoftwareCommented:
Formula for 1st column:
Split({your_field}," X ")[1]

Formula for 2st column:
Replace(Split({your_field}," X ")[2]," B7 STUD","")
Patrick MatthewsCommented:
Assuming the initial value is in A2, the first item is:


The second:


Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now