Is there an add-in that can export tabulate to excel?
I only found add-in that can export data table to excel.
Thanks in advance!
On the Tabulate red triangle menu you can select "Make Into Data Table". Then, in the resulting table you can do File->Save As and select Save As Type "Excel Workbook". You didn't say what version you are running, or under what operating system, but this should be similar if you are using a Mac. You would just need to use Export instead of File Save As.
Brian Corcoran
JMP Development
You can save the Tabulate output to a text file, which you can then bring into Excel. Here is a simple illustration of saving the output to text
Names Default To Here( 1 ); dt = Open( "$SAMPLE_DATA/big class.jmp" ); tab = tb = Tabulate( Show Control Panel( 0 ), Add Table( Row Table( Grouping Columns( :age, :name ) ) ), Display Column Width( Row Label( "name" ), 70 ) ); Report( tb )[tabulatebox( 1 )] << save text( "$TEMP/tab.txt" );
Can I ask why you want to export a Tabulate result in JMP to Excel? Reason I'm asking if it's just so a non JMP user can 'see' the tabulate report there are variety of means to accomplish this. Copy/paste to the destination Microsoft application can work. You can also get more elegant and publish a Web Report...so lots of ways to share your JMP discoveries with others...if that's the primary reason for getting JMP created content into other applications or file structures.
It's still not 100% clear what your end goal is with respect to the JMP output. When you say you need to produce the report as tabs in Excel, I'm interpreting that as you need to show the JMP Tabulate report as content in a seperate and distinct Excel tab. If my interpretation is correct, one way you could do this besides those I've mentioned above is to save the JMP Tabulate report as an Interactive or static HTML object. Then you can embed each object within a tab in Excel...then all someone needs is a web browser to open each object and what the Excel user will 'see' is the Tabulate report output.
@joann, If all you wanted is the result of JMP tabulation in Excel repeatedly, would something like this work ?
dt = Open( "$SAMPLE_DATA/Car Poll.jmp" ); dt1 = (dt << Tabulate( Add Table( Column Table( Grouping Columns( :sex, :marital status ) ), Row Table( Grouping Columns( :country, :size ) ) ) )) << Make Into Data Table; dt1 << Set Name("TabulateResults"); Create Excel Workbook( "c:\MyWorkbook.xlsx", {"TabulateResults"} );
@uday_guntupalli
Thank you for the reply.
However with the script you provide the output looks like the below, first screenshot; while I'm looking to output the table in the second screenshot.
Thanks,
Joann