cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-8556%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EJMP%20%E4%B8%AD%E7%9A%84%E5%85%AC%E5%BC%8F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-8556%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CP%3E%E5%BE%9E%E6%97%A9%E4%B8%8A%E9%96%8B%E5%A7%8B%EF%BC%8C%E6%88%91%E4%B8%80%E7%9B%B4%E5%9C%A8%E5%98%97%E8%A9%A6%E7%B7%A8%E5%AF%AB%E4%B8%80%E5%80%8B%E5%85%AC%E5%BC%8F%E4%BE%86%E5%BC%95%E7%94%A8%20JMP%20%E8%A1%A8%E4%B8%AD%E7%9A%84%E6%9F%90%E4%BA%9B%E5%96%AE%E5%85%83%E6%A0%BC%EF%BC%8C%E4%BD%86%E6%88%91%E4%BC%BC%E4%B9%8E%E7%84%A1%E6%9E%9C%E8%80%8C%E7%B5%82%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E5%8F%AF%E4%BB%A5%E6%98%8E%E7%A2%BA%E6%A6%82%E6%8B%AC%E5%9C%B0%E8%AA%AA%EF%BC%9A%E5%9C%A8%E5%85%AC%E5%BC%8F%E6%96%B9%E9%9D%A2%EF%BC%8CExcel%20%E9%81%A0%E9%81%A0%E9%A0%98%E5%85%88%20JMP%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E5%BE%88%E9%9B%A3%E7%90%86%E8%A7%A3%E7%82%BA%E4%BB%80%E9%BA%BC%20JMP%20%E4%B8%AD%E5%8D%B3%E4%BD%BF%E6%98%AF%E7%B0%A1%E5%96%AE%E7%9A%84%E5%85%AC%E5%BC%8F%E4%B9%9F%E5%A6%82%E6%AD%A4%E5%9B%B0%E9%9B%A3%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-68865%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E8%A6%86%EF%BC%9AJMP%20%E4%B8%AD%E7%9A%84%E5%85%AC%E5%BC%8F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-68865%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E8%AC%9D%E8%AC%9D%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-68860%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E8%A6%86%EF%BC%9AJMP%20%E4%B8%AD%E7%9A%84%E5%85%AC%E5%BC%8F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-68860%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E9%87%8D%E6%96%B0%E7%B7%A8%E7%A2%BC%E5%B7%A5%E5%85%B7%E6%88%96%20mach%20%E5%87%BD%E6%95%B8%E4%B9%9F%E5%BE%88%E6%96%B9%E4%BE%BF%EF%BC%9A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EMatch(%20%3AMonth%2C%20%22Jan%22%2C%20%2201%22%2C%20%22Feb%22%2C%20%2202%22%2C%20%22Mar%22%2C%20%2203%22%2C%20%22Apr%22%2C%20%2204%22%2C%20%3AMonth%20)%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-68855%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E8%A6%86%EF%BC%9AJMP%20%E4%B8%AD%E7%9A%84%E5%85%AC%E5%BC%8F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-68855%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E9%80%99%E6%98%AF%E4%B8%80%E5%80%8B%E5%85%AC%E5%BC%8F%EF%BC%8C%E5%8F%AF%E4%BB%A5%E7%82%BA%E6%82%A8%E6%8F%90%E4%BE%9B%E6%9C%88%E4%BB%BD%E7%9A%84%E6%95%B8%E5%80%BC%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EmonthList%3D%7B%22Jan%22%2C%22Feb%22%2C%22Mar%22%2C%22Apr%22%2C%22May%22%2C%22Jun%22%2C%22Jul%22%2C%22Aug%22%2C%22Sep%22%2C%22Oct%22%2C%22Nov%22%2C%22Dec%22%7D%3B%0Acontains(%20monthList%2C%20%3AMonth%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-68849%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E8%A6%86%EF%BC%9AJMP%20%E4%B8%AD%E7%9A%84%E5%85%AC%E5%BC%8F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-68849%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E6%88%91%E9%81%87%E5%88%B0%E4%BA%86%E5%90%8C%E6%A8%A3%E7%9A%84%E5%95%8F%E9%A1%8C%E3%80%82%20%E5%9C%A8%E6%88%91%E7%9A%84%E8%B3%87%E6%96%99%E9%9B%86%E4%B8%AD%EF%BC%8C%E6%88%91%E6%9C%89%E4%B8%80%E5%80%8B%E5%90%8D%E7%82%BA%E2%80%9CMonth%E2%80%9D%E7%9A%84%E5%88%97%EF%BC%8C%E5%85%B6%E8%AE%80%E6%95%B8%E7%82%BA%E2%80%9CJan%E3%80%81Feb%E3%80%81Mar%E3%80%81.........%E3%80%81Dec%E2%80%9D%EF%BC%8C%E4%B8%A6%E4%B8%94%E6%AD%A3%E5%9C%A8%E5%98%97%E8%A9%A6%E5%BB%BA%E7%AB%8B%E4%B8%80%E5%80%8B%E5%90%8D%E7%82%BA%E2%80%9Cmonth2%E2%80%9D%E7%9A%84%E6%96%B0%E5%88%97%EF%BC%8C%E8%A9%B2%E5%88%97%E5%B0%87%E6%9C%88%E4%BB%BD%E8%87%B3%E3%80%8C01%EF%BC%88%E4%B8%80%E6%9C%88%EF%BC%89%E3%80%8102%EF%BC%88%E4%BA%8C%E6%9C%88%EF%BC%89%E3%80%8103%EF%BC%88%E4%B8%89%E6%9C%88%EF%BC%89%E3%80%81......%E3%80%8112%EF%BC%88%E5%8D%81%E4%BA%8C%E6%9C%88%EF%BC%89%E3%80%82%20%E6%88%91%E5%81%87%E8%A8%AD%E2%80%9CIF%E2%80%9D%E8%AA%9E%E5%8F%A5%E6%9C%83%E6%9C%89%E7%94%A8%E3%80%82%20%E8%AB%8B%E5%B9%AB%E6%88%91%E8%A7%A3%E6%B1%BA%E9%80%99%E5%80%8B%E5%95%8F%E9%A1%8C%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-8557%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E8%A6%86%EF%BC%9AJMP%20%E4%B8%AD%E7%9A%84%E5%85%AC%E5%BC%8F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-8557%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%BE%88%E6%8A%B1%E6%AD%89%E6%82%A8%E5%9C%A8%E5%98%97%E8%A9%A6%E4%BD%BF%E7%94%A8%20JMP%20%E4%B8%AD%E7%9A%84%E5%85%AC%E5%BC%8F%E7%B7%A8%E8%BC%AF%E5%99%A8%E6%99%82%E9%81%87%E5%88%B0%E6%8C%AB%E6%8A%98%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E9%A6%96%E5%85%88%E8%A6%81%E8%AA%8D%E8%AD%98%E7%9A%84%E6%98%AF%EF%BC%8CJMP%20%E4%B8%8D%E6%98%AF%E5%83%8F%20Excel%20%E9%82%A3%E6%A8%A3%E7%9A%84%E9%9B%BB%E5%AD%90%E8%A1%A8%E6%A0%BC%EF%BC%88Excel%20%E4%B9%9F%E4%B8%8D%E6%98%AF%E5%83%8F%20JMP%20%E9%82%A3%E6%A8%A3%E7%9A%84%E7%B5%90%E6%A7%8B%E5%8C%96%E8%B3%87%E6%96%99%E8%A1%A8%EF%BC%89%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E7%95%B6%E6%82%A8%E5%BB%BA%E7%AB%8B%E6%96%B0%E5%88%97%E4%B8%A6%E7%82%BA%E5%85%B6%E6%8C%87%E5%AE%9A%E5%85%AC%E5%BC%8F%E6%99%82%E3%80%82%20%E6%AD%A4%E5%85%AC%E5%BC%8F%E9%81%A9%E7%94%A8%E6%96%BC%E6%95%B4%E5%88%97%EF%BC%8C%E4%B8%A6%E9%87%9D%E5%B0%8D%E8%A9%B2%E5%88%97%E4%B8%AD%E7%9A%84%E6%AF%8F%E4%B8%80%E8%A1%8C%E9%80%B2%E8%A1%8C%E8%A8%88%E7%AE%97%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%226281_JMPScreenSnapz007.png%22%20style%3D%22width%3A%20491px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%226281_JMPScreenSnapz007.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%226281_JMPScreenSnapz007.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369i3A906B3F38BFE005%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%226281_JMPScreenSnapz007.png%22%20alt%3D%226281_JMPScreenSnapz007.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E5%A6%82%E6%9E%9C%E8%A6%81%E5%BC%95%E7%94%A8%E5%88%97%E4%B8%AD%E7%9A%84%E7%89%B9%E5%AE%9A%E8%A1%8C%EF%BC%8C%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%E8%A1%8C%E5%87%BD%E6%95%B8%E4%B8%AD%E7%9A%84%E4%B8%8B%E6%A8%99%E9%81%B8%E9%A0%85%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%226283_JMPScreenSnapz009.png%22%20style%3D%22width%3A%20296px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%226283_JMPScreenSnapz009.png%22%20style%3D%22width%3A%20296px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%226283_JMPScreenSnapz009.png%22%20style%3D%22width%3A%20296px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370iA9DD522ED14375D9%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%226283_JMPScreenSnapz009.png%22%20alt%3D%226283_JMPScreenSnapz009.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E9%80%99%E5%B0%87%E7%82%BA%E6%82%A8%E5%9C%A8%E5%85%AC%E5%BC%8F%E4%B8%AD%E9%81%B8%E6%93%87%E7%9A%84%E5%88%97%E6%8F%90%E4%BE%9B%E4%B8%8B%E6%A8%99%E3%80%82%20%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%9C%A8%E4%B8%8B%E6%A8%99%E4%B8%AD%E8%BC%B8%E5%85%A5%E8%A1%8C%E8%99%9F%EF%BC%8C%E7%84%B6%E5%BE%8C%E6%82%A8%E5%B0%87%E7%8D%B2%E5%BE%97%E6%8C%87%E5%AE%9A%E8%A1%8C%E4%B8%AD%E8%A9%B2%E5%88%97%E7%9A%84%E5%80%BC%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E6%AD%A4%E5%85%AC%E5%BC%8F%E5%82%B3%E5%9B%9E%E8%A9%B2%E6%96%B0%E5%88%97%E4%B8%AD%E6%AF%8F%E4%B8%80%E8%A1%8C%E7%AC%AC%203%20%E8%A1%8C%E4%B8%AD%E7%9A%84%E7%A3%A8%E6%90%8D%E5%80%BC%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%226284_JMPScreenSnapz010.png%22%20style%3D%22width%3A%20552px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%226284_JMPScreenSnapz010.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%226284_JMPScreenSnapz010.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371iB8AB1D858E4A337F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%226284_JMPScreenSnapz010.png%22%20alt%3D%226284_JMPScreenSnapz010.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E6%82%A8%E8%83%BD%E5%90%A6%E5%91%8A%E8%A8%B4%E6%88%91%E5%80%91%E6%82%A8%E6%AD%A3%E5%9C%A8%E5%98%97%E8%A9%A6%E5%81%9A%E4%BB%80%E9%BA%BC%E4%BB%A5%E5%8F%8A%E6%82%A8%E5%A6%82%E4%BD%95%E5%98%97%E8%A9%A6%E5%81%9A%E5%88%B0%E9%80%99%E4%B8%80%E9%BB%9E%EF%BC%8C%E6%88%91%E5%80%91%E5%8F%AF%E4%BB%A5%E7%82%BA%E6%82%A8%E6%8F%90%E4%BE%9B%E4%B8%80%E4%BA%9B%E5%AE%8C%E6%88%90%E7%9B%AE%E6%A8%99%E7%9A%84%E6%8C%87%E5%B0%8E%EF%BC%9F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E-%E5%82%91%E5%A4%AB%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
none1
Level II

Formulas in JMP

I have been trying to write a formula since morning to refer to certain cells in my JMP table, however I seem to be able to get no where.

I can make a clear general statement:  When it comes to Formulas   Excel is a far ahead of JMP.

Its difficult to understand why its SO SO SO  difficult even simple formulas in JMP !

1 ACCEPTED SOLUTION

Accepted Solutions
Jeff_Perkinson
Community Manager Community Manager

Re: Formulas in JMP

I'm sorry that you're frustrated in your attempts to use the Formula Editor in JMP.

The first thing to recognize is that JMP isn't a spreadsheet like Excel (neither is Excel a structured data table like JMP).

When you create a new column and give it a formula. The formula applies to the entire column and is evaluated for every row in the column.

6281_JMPScreenSnapz007.png

If you want to reference a specific row in a column you can use the Subscript option from the Row functions.

6283_JMPScreenSnapz009.png

This will give you a subscript for the column you've got selected in the formula. You can put a row number in the subscript and you'll get the value for that column in the row specified.

This formula returns the value for ABRASION in row 3 for every row of this new column.

6284_JMPScreenSnapz010.png

Can you tell us what you're trying to do and how you've tried to do it and we can give you some pointers to accomplish it?

-Jeff

-Jeff

View solution in original post

5 REPLIES 5
Jeff_Perkinson
Community Manager Community Manager

Re: Formulas in JMP

I'm sorry that you're frustrated in your attempts to use the Formula Editor in JMP.

The first thing to recognize is that JMP isn't a spreadsheet like Excel (neither is Excel a structured data table like JMP).

When you create a new column and give it a formula. The formula applies to the entire column and is evaluated for every row in the column.

6281_JMPScreenSnapz007.png

If you want to reference a specific row in a column you can use the Subscript option from the Row functions.

6283_JMPScreenSnapz009.png

This will give you a subscript for the column you've got selected in the formula. You can put a row number in the subscript and you'll get the value for that column in the row specified.

This formula returns the value for ABRASION in row 3 for every row of this new column.

6284_JMPScreenSnapz010.png

Can you tell us what you're trying to do and how you've tried to do it and we can give you some pointers to accomplish it?

-Jeff

-Jeff
ZosTa
Level I

Re: Formulas in JMP

I'm experiencing the same kind of problem. In my data set I have a column named "Month", with readings , "Jan,Feb, Mar,.........,Dec" and am trying to create a new column named "month2" which converts the Month to "01(for Jan), 02 for (Feb), 03 (for Mar), ...... , 12 (for Dec). I'm assuming an "IF" statement will be useful. Please assist me on how to go about this
txnelson
Super User

Re: Formulas in JMP

Here is a formula that will give you a numeric value for month

monthList={"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"};
contains( monthList, :Month );
Jim
ZosTa
Level I

Re: Formulas in JMP

Thank you

Thomas1
Level V

Re: Formulas in JMP

The recode tool or the mach function would be handy as well:

 

Match( :Month, "Jan", "01", "Feb", "02", "Mar", "03", "Apr", "04", :Month )

Recommended Articles