I have a data set that comes in from Excel whereby several key pieces of information are arranged in individual cells. To make this data useful in JMP, I came up with a scheme to populate the data systematically in columns using lag statements. I have some consistency in the layout which allows me to use fixed lag values. I included an example for rearranging the data contained in the cell to the right of "Recipe". I suspect that what I'm doing is more cumbersome than necessary if anyone has a better suggestion?
Before

After

New Column("Recipe2", Character, "Nominal", Formula(If(!Is Missing(:Column 7), If(:Column 1 == "Recipe", :Column 2, Lag(:Recipe2, 1)))));
New Column("Recipe", Character, "Nominal", Formula(If(!Is Missing(:Column 7), If(Is Missing(:"Recipe2"n), Lag(:"Recipe2"n, -4), :"Recipe2"n))));
Slán
SpannerHead