cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
wyler00
Level I

How to sum the values in an unnamed column

Hi,

 

I have a DOE setup where the names of the columns change.  Is there a way to sum the values in column 1 and put them in Column "Total Volume" row 1, then sum column 2 and put them in "Total volume" row 2, etc?  Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How to sum the values in an unnamed column

It is possible but it isn't really something you should do with JMP as JMP table isn't a spreadsheet(JMP is Not a Spreadsheet ). Below is example formula to give an idea how it could be done

If(
	Row() == 1, Col Sum(Column(1)),
	Row() == 2, Col Sum(Column(2)),
	.
)

jthi_1-1712250183921.png

jthi_0-1712250165034.png

-Jarmo

View solution in original post

3 REPLIES 3
jthi
Super User

Re: How to sum the values in an unnamed column

It is possible but it isn't really something you should do with JMP as JMP table isn't a spreadsheet(JMP is Not a Spreadsheet ). Below is example formula to give an idea how it could be done

If(
	Row() == 1, Col Sum(Column(1)),
	Row() == 2, Col Sum(Column(2)),
	.
)

jthi_1-1712250183921.png

jthi_0-1712250165034.png

-Jarmo
wyler00
Level I

Re: How to sum the values in an unnamed column

Thank you this answered my question.  And thanks for the link to JMP is not a spreadsheet.  I've never seen this before and I do try to use JMP as a spreadsheet too often

dlehman1
Level VI

Re: How to sum the values in an unnamed column

I think I may be misunderstanding what you want.  But it sounds like using Table-Summary and asking for the sum of the relevant columns will give you what you want.  You can then make it into a data table.  If you need to have it placed in the original table with each row a different sum of columns, then you probably need to do something else.

Recommended Articles