cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

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

How do I select rows within a specific time range and create a new column using the selected rows?

For example, I only wanted to select rows when the time is between 7pm-10pm. How do I create a column with the selected rows within the specified time range?

Danial1_0-1605693947009.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
ian_jmp
Level X

Re: How do I select rows within a specific time range and create a new column using the selected rows?

Using the 'Hour()' function (see 'Help > Scripting Index'), you could add a new column with a formula such as:

Hour( :test_start_date ) >= 19 & Hour( :test_start_date ) <= 22

View solution in original post

2 REPLIES 2
ian_jmp
Level X

Re: How do I select rows within a specific time range and create a new column using the selected rows?

Using the 'Hour()' function (see 'Help > Scripting Index'), you could add a new column with a formula such as:

Hour( :test_start_date ) >= 19 & Hour( :test_start_date ) <= 22
Danial1
Level III

Re: How do I select rows within a specific time range and create a new column using the selected rows?

Thanks a lot for the prompt response. It helped a tonne!

Recommended Articles