identify previous cal std injection

Is there an easy way to identify the last cal. std. injected prior to a given sample in a sequence and query compound retention times from that injection?

In my lab, one of the methods for retention time identification that we use is comparison to the last calibration standard injected prior to the sample injection.  I have worked out a method for this with IR, but it involves creating 1 of 2 tables for each injection (one for cal. std. and one for all others) for each compound and then selectively updating a variable based on which table was created.  This works but feels cumbersome.  Is there a way to handle this in *.ccf formulas?

Was this helpful?