Hello @Terri_Denver. Make yourself a simple data table. I created two columns and asked JMP to generate random integer values in each. Then simply use the instant column formulas to take a sum.
PatrickGiuliano_0-1622598696005.png
What you can see here is that yes! JMP can sum across the rows of a data table. Specifically, my instant column formula was generated using the "add" function in JMP. Easy peasy.
PatrickGiuliano_1-1622598771495.png
I can even use the "event recorder" new in JMP16 to save my script and share it here with you so you can reproduce it easily:
// New data table
// → Data Table( "Untitled 206" )
New Table( "Untitled 206" );
// New column: Column 1
Data Table( "Untitled 206" ) << New Column( "Column 1",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( Random Integer( Empty() ) )
);
// New column: Column 2
Data Table( "Untitled 206" ) << New Column( "Column 2",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( Random Integer( Empty() ) )
);
// Change column formula: Column 1
Data Table( "Untitled 206" ):Column 1 << Set Formula( Random Integer( 100 ) );
// Change column formula: Column 2
Data Table( "Untitled 206" ):Column 2 << Set Formula( Random Integer( 100 ) );
// Add rows
Data Table( "Untitled 206" ) << Add Rows( 100, At End );
// New formula column: Column 1+Column 2
Data Table( "Untitled 206" ) << New Column( "Column 1+Column 2",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( :Column 1 + :Column 2 )
);
@PatrickGiuliano