Is it possible to have multiple spec limits for one column? Let's say I have a table that looks like this:

I would like to generate a variability chart from it that shows separate spec limits for samples A and B, as indicated below:

In the graph above, this was done by manually entering the limits as reference lines, but I was wondering if there was a smarter way of doing it, ideally with the limits being shown only in the section of the graph where the data for sample A or B lies, rather than across the entire graph.
Thanks in advance!