cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
JMPUser9
Level II

Conditional Formatting

I have data that contains different lots and reps and then time stamps.

 

I want all of the data from the same lot/rep to be divided by the final time stamp.

 

How would I do this in the formula section of a column?

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Conditional Formatting

Col Max() with byvars (lot and maybe rep, depending on your data) should work.

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt << New Column("f", numeric, continuous, Formula(
	:height / Col Maximum(:height, :sex)
));
-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: Conditional Formatting

Col Max() with byvars (lot and maybe rep, depending on your data) should work.

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt << New Column("f", numeric, continuous, Formula(
	:height / Col Maximum(:height, :sex)
));
-Jarmo
JMPUser9
Level II

Re: Conditional Formatting

Thank you, worked perfectly.