cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Get the free JMP Student Edition for qualified students and instructors at degree granting institutions.
Choose Language Hide Translation Bar
View Original Published Thread

How to replace empty rows until next entry (and continue)?

SDF1
Super User

Dear JMP community,

 

(W10, 64-bit, JMP 15.0 Pro)

 

  I have a large data table that is imported from an excel file and I need to have empty rows of a column filled with the entries of the previous list. I am trying to write JSL to go from a column as on the left to the one on the right, as shown below:

Snap1.png

  I'm thinking it should be pretty easy to code, but the issue I'm having is correctly stopping at the end of the previous product and starting with the new product. I must not be looping through correctly.

 

  Any suggestions/help is welcome.

 

Thanks!,

DS

10 REPLIES 10
Byron_JMP
Staff


Re: How to replace empty rows until next entry (and continue)?

A couple of the JMP systems engineers were going round and round on this problem and this was the best solution. This final version by @Brady Brady is heads a tails faster and more robust than the simple formula we started with. I've been using it for years and found it to work well in a number of situations.  Glad it worked for you!

JMP Systems Engineer, Health and Life Sciences (Pharma)