Different label but the same peak/real/calculated custom field

I have a peak real calculated custom field which calculates the RSD area of standards with different labels (P and P1).
How do I need to write the formula so both the P label and P1 label standards are included?

Answers