<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Merging Column from excel file int JMP data file in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Merging-Column-from-excel-file-int-JMP-data-file/m-p/253199#M49705</link>
    <description>&lt;P&gt;I have two files:&lt;/P&gt;&lt;P&gt;1st file is the Excel&lt;/P&gt;&lt;P&gt;2nd file is the JMP&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1st file&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Excel.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/22387iF73A75835DA13815/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Excel.PNG" alt="Excel.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2nd file:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP file.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/22388i104535D4E911D5CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMP file.PNG" alt="JMP file.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to write a script which can copy the Column Name &lt;STRONG&gt;"Values"&amp;nbsp;&lt;/STRONG&gt;from the excel file and past in the 2nd JMP file so my final output will look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Output.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/22389iA8AB67F349811CA0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Output.PNG" alt="Output.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Any suggestions on writing script in JMP?&lt;/P&gt;</description>
    <pubDate>Thu, 19 Mar 2020 18:47:48 GMT</pubDate>
    <dc:creator>Jackie_</dc:creator>
    <dc:date>2020-03-19T18:47:48Z</dc:date>
    <item>
      <title>Merging Column from excel file int JMP data file</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-Column-from-excel-file-int-JMP-data-file/m-p/253199#M49705</link>
      <description>&lt;P&gt;I have two files:&lt;/P&gt;&lt;P&gt;1st file is the Excel&lt;/P&gt;&lt;P&gt;2nd file is the JMP&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1st file&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Excel.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/22387iF73A75835DA13815/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Excel.PNG" alt="Excel.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2nd file:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP file.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/22388i104535D4E911D5CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMP file.PNG" alt="JMP file.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to write a script which can copy the Column Name &lt;STRONG&gt;"Values"&amp;nbsp;&lt;/STRONG&gt;from the excel file and past in the 2nd JMP file so my final output will look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Output.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/22389iA8AB67F349811CA0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Output.PNG" alt="Output.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Any suggestions on writing script in JMP?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 18:47:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-Column-from-excel-file-int-JMP-data-file/m-p/253199#M49705</guid>
      <dc:creator>Jackie_</dc:creator>
      <dc:date>2020-03-19T18:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Column from excel file int JMP data file</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-Column-from-excel-file-int-JMP-data-file/m-p/253215#M49706</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/17878"&gt;@Jackie_&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Using JMP Query Builder will allow you to blend data from multiple sources as you describe, Excel and JMP, JMP and a database table, JMP, Excel and database tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The scripts will write themselves.&lt;/P&gt;
&lt;P&gt;Import the data with Excel Wizard. Right-Click on green-triangle next to the Source script to view the script.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="JMP QB Blending multiple data sources" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/22393i36F0608DDA5D7273/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP QB Blending-MS Excel with JMP data table.png" alt="JMP QB Blending multiple data sources" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;JMP QB Blending multiple data sources&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use JMP Query Builder as described in your previous post &lt;A title="JMP Query Builder" href="https://community.jmp.com/t5/Discussions/Merging-a-column-from-one-JMP-file-to-another-JMP-file/m-p/253049#M49679" target="_self"&gt;merging a column from one JMP file to another JMP file&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New SQL Query(
	Version( 130 ),
	Connection( "JMP" ),
	JMP Tables(
		["1st_file" =&amp;gt;
		"Source(Open(
	\!"/Users/stkopr/Desktop/1st_file.xlsx\!",
	Worksheets( \!"1st_file\!" ),
	Use for all sheets( 1 ),
	Concatenate Worksheets( 0 ),
	Create Concatenation Column( 0 ),
	Worksheet Settings(
		1,
		Has Column Headers( 1 ),
		Number of Rows in Headers( 1 ),
		Headers Start on Row( 1 ),
		Data Starts on Row( 2 ),
		Data Starts on Column( 1 ),
		Data Ends on Row( 0 ),
		Data Ends on Column( 0 ),
		Replicated Spanned Rows( 1 ),
		Replicated Spanned Headers( 0 ),
		Suppress Hidden Rows( 1 ),
		Suppress Hidden Columns( 1 ),
		Suppress Empty Columns( 1 ),
		Treat as Hierarchy( 1 ),
		Multiple Series Stack( 0 ),
		Import Cell Colors( 0 ),
		Limit Column Detect( 0 ),
		Column Separator String( \!"-\!" )
	)
))",
		"2nd_file" =&amp;gt; "/Users/stkopr/Desktop/2nd_file.jmp"]
	),
	QueryName( "JMP QB Blending differnt source tables" ),
	Select(
		Column( "Name", "t2" ),
		Column( "Enable", "t2" ),
		Column( "Type", "t2" ),
		Column( "Phase", "t2" ),
		Column( "Values", "t3" )
	),
	From(
		Table( "2nd_file", Alias( "t2" ) ),
		Table(
			"1st_file",
			Alias( "t3" ),
			Join(
				Type( Left Outer ),
				EQ( Column( "Name", "t2" ), Column( "Name", "t3" ) )
			)
		)
	)
) &amp;lt;&amp;lt; Run&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;cheers,&lt;/P&gt;
&lt;P&gt;Stan&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 19:26:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-Column-from-excel-file-int-JMP-data-file/m-p/253215#M49706</guid>
      <dc:creator>stan_koprowski</dc:creator>
      <dc:date>2020-03-19T19:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Column from excel file int JMP data file</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-Column-from-excel-file-int-JMP-data-file/m-p/253222#M49709</link>
      <description>&lt;P&gt;How can I import xlsx file in Primary section ?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Import.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/22395i93ECDA8B6C47E513/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Import.PNG" alt="Import.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 20:04:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-Column-from-excel-file-int-JMP-data-file/m-p/253222#M49709</guid>
      <dc:creator>Jackie_</dc:creator>
      <dc:date>2020-03-19T20:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Column from excel file int JMP data file</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-Column-from-excel-file-int-JMP-data-file/m-p/253241#M49713</link>
      <description>&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/706"&gt;@stan_koprowski&lt;/a&gt; How can I import xlsx file in Primary section ?</description>
      <pubDate>Thu, 19 Mar 2020 21:18:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-Column-from-excel-file-int-JMP-data-file/m-p/253241#M49713</guid>
      <dc:creator>Jackie_</dc:creator>
      <dc:date>2020-03-19T21:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Column from excel file int JMP data file</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-Column-from-excel-file-int-JMP-data-file/m-p/253243#M49715</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/17878"&gt;@Jackie_&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can use the Excel Wizard using File--&amp;gt;Open.&lt;/P&gt;
&lt;P&gt;See Importing &lt;A title="Importing MS Excel data" href="https://www.jmp.com/support/help/en/15.1/#page/jmp/preview-and-import-the-microsoft-excel-data.shtml" target="_self"&gt;MS Excel file in the help&amp;nbsp;documentation&lt;/A&gt; for additional details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would also recommend a few additional resources for those just starting out learning JMP:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A title="JMP New User Welcome Kit" href="http://jmp.com/welcome" target="_self"&gt;New User Welcome Kit&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Mastering Series:&amp;nbsp;&lt;A title="JMP Mastering: Getting Started with JMP" href="https://www.jmp.com/en_us/events/live-webinars/getting-started-with-jmp/getting-started-with-jmp-27mar2020.html" target="_self"&gt;Getting Started with JMP&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;There is a new "Live event" on March 27 or you can check out one of the &lt;A title="JMP Mastering: On-Demand" href="https://www.jmp.com/en_us/events/ondemand/non-series/getting-started-with-jmp.html" target="_self"&gt;on-demand webinars.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers,&lt;/P&gt;
&lt;P&gt;Stan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 21:43:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-Column-from-excel-file-int-JMP-data-file/m-p/253243#M49715</guid>
      <dc:creator>stan_koprowski</dc:creator>
      <dc:date>2020-03-19T21:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Column from excel file int JMP data file</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-Column-from-excel-file-int-JMP-data-file/m-p/253397#M49739</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/706"&gt;@stan_koprowski&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I display a File Open Dialog Box for the user to select a Excel file and JMP file after running the script?&lt;/P&gt;&lt;P&gt;Every time I have to change the directory path in the script if I run the script on other files. Does JMP Query Builder has any syntax to display a file open Dialog box?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Import.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/22431i30E10FF6F093F8E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Import.PNG" alt="Import.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 12:43:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-Column-from-excel-file-int-JMP-data-file/m-p/253397#M49739</guid>
      <dc:creator>Jackie_</dc:creator>
      <dc:date>2020-03-20T12:43:20Z</dc:date>
    </item>
  </channel>
</rss>

