cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
Choose Language Hide Translation Bar
mukeshkakkey
Level I

Karkey : How do I use formulas for a single cell instead of an entire column?

Hii,

 

Mukesh Karkey here ,I'm new to JMP and used to working in Excel. How can I apply a formula to only a single cell instead of the entire column? I need to calculate a value for just one row in my data table without affecting the others.

 

Regards,

Mukesh Karkey

5 REPLIES 5
jthi
Super User

Re: Karkey : How do I use formulas for a single cell instead of an entire column?

JMP isn't a spreadsheet so you cannot really perform this type of calculations. You can calculate the values to new column and just take those values you are interested in.

-Jarmo
shampton82
Level VII

Re: Karkey : How do I use formulas for a single cell instead of an entire column?

Hey @mukeshkakkey ,

 

If you really wanted to brute force it, you could use an if statement that would say for a given row return a formula else return the raw data from another column for the rest of the rows.

 

From the Big class data set:

shampton82_0-1757426588150.png

shampton82_1-1757426599338.png

 

 

Re: Karkey : How do I use formulas for a single cell instead of an entire column?

 If you only need a single value, you could also look into using a table variable. Depending on your use of the data, this might be appropriate for your situation. Another option to consider and gives you more insights and advances your knowledge of JMP!

Dan Obermiller

Re: Karkey : How do I use formulas for a single cell instead of an entire column?

可以用JSL脚本,可用于指定单元格计算

CoverMarmoset89_0-1757493869728.png

 

Re: Karkey : How do I use formulas for a single cell instead of an entire column?

To build on what @CoverMarmoset89 mentioned, you can refer to a single cell in a formula using brackets, as shown below. As @Dan_Obermiller mentioned, table variables are likely a better approach, though.

Jed_Campbell_0-1757532864412.png

 

Recommended Articles