Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Over the past year I have found your site to be EXCELLENT. Never have I been able to find so many answers to such vast problems and it is an excellent service..."

Geography

Where in the world do Tek-Tips members come from?
Johnny786 (Programmer)
26 Apr 12 13:46
Hi,
I have created a crosstab report which need to be exported into excel.
My crosstab results are :
T1  T2   T3
                 1-apr-2012    2-apr-2012  3-apr-2012
A1  B1   C1          10          10           10
         C2          10          10           10
        Total        20          20           20
A2  B2   C3          10          10           10
         C4          10          10           10
        Total        20          20           20
When i am trying to do the excel export, its coming like :
T1  T2   T3
                 1-apr-2012    2-apr-2012  3-apr-2012
         C1          10          10           10
         C2          10          10           10
A1  B1  Total        20          20           20
         C3          10          10           10
         C4          10          10           10
A2  B2  Total        20          20           20

I've already seen so many discussions about this in this forum and i came to know its hard to get exactly the same.
But i only want to know whether its possible to get the A1, B1 or A2,B2 right on the same line as C1 or C3 any chance.
Any suggestions please? Any help will be appreciated.
Thanks a lot.
 
Madawc (Programmer)
27 Apr 12 5:30
Which Crystal?  On Crystal 8.5 and 10, it was a problem and I found the best answer was blank text to make the columns consistent.

From 11.5 (I think), you have the option to export as data or with the same look, and both seem to work.

It always helps to give your Crystal version - 8, 8.5, 9, 10, 11 2008 or whatever.  Methods sometimes change between versions, and higher versions have extra options.
 

yinyang Madawc Williams (East Anglia, UK).  Using Crystal 2008 with SQL and Windows XP yinyang  

hilfy ( IS/IT--Management)
27 Apr 12 9:45
If you are using an actual Cross-Tab component, it should export cleanly to Excel.  Although it looks like your format is somewhat different than what's showing in your cross-tab.  Unfortunately, there is no way to control this from Crystal.  So what you're seeing is the way it is going to be.

Madawc's suggestion for blank text applies if you're not using a Cross-Tab component, and it also applies from 11.5 on (in addition to the earlier versions) if you are doing a data-only export.

-Dell

A computer only does what you actually told it to do - not what you thought you told it to do.

NickieP (TechnicalUser)
28 Apr 12 8:18
I have XI and if you export as Excel not Excel(Data Only), it does show the group name properly(at the top). I do this, then highlight all, unmerge all cells and then clean it up a bit.
Not smooth, but it works, and you could write a macro for the tidying up if it is a regular export.
 
Johnny786 (Programmer)
30 Apr 12 11:24
Hi Madawc,
i am using the crystal 2008(version 12). I have tried both excel export data and data only options, but still its not exporting as it is in crosstab. When i use excel export data option, in excel its showing like merged cells. and the latter one messing up the whole format options. Any suggestions?
Madawc (Programmer)
1 May 12 6:26
Have you also tried blank text boxes?

If that's not it, then I have no more ideas.

yinyang Madawc Williams (East Anglia, UK).  Using Crystal 2008 with SQL and Windows XP yinyang  

Johnny786 (Programmer)
1 May 12 9:58
Madawc,
Can you explain how to do that(blank test boxes) in clear,please?
Thanks for your time.
Madawc (Programmer)
2 May 12 6:55
At the top you should see an [Aa] icon, choose that.  Place it, make it the right size but enter nothing.

Or you can use [Ctrl]C and [Ctrl]V to copy an exisitng field and then clear it of text.   

yinyang Madawc Williams (East Anglia, UK).  Using Crystal 2008 with SQL and Windows XP yinyang  

IdoMillet (Instructor)
2 May 12 8:09
One of the 3rd-party Crystal Reports schedulers listed at http://kenhamady.com/bookmarks.html can automate the process of generating an Excel pivot table from a Crystal report. Besides avoiding the formatting issue of your CrossTab export, it allows the user to slice & dice the data.

hth,
- Ido

view, export, burst, email, and schedule Crystal Reports.
www.MilletSoftware.com

epmo (TechnicalUser)
16 Aug 12 15:09
I am a big fan of R-Tag Viewer, which can create a pivot table from a query. May be @IdoMillet is talking about this tool.
Export to excel is clean and with formatting which makes the data easy to read. They have a video demoing the same crosstabed data in crystal , SSRS and pivot table, which shows the advantages of each report type, although for simple crosstab reports it is a no brainer :http://www.r-tag.com/Pages/Preview_Demo.aspx
 

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close