I am trying to write a formula field that will summarize the responses of three separate single select fields (Prototype 1 Cost Status, Prototype 2 Cost Status, and Prototype 3 Costing Status) so my costing team can have an idea of what proportion of the current prototype stage is "Meeting Target" or "Not Meeting Target". I'm finding this difficult because if we move from Prototype 1 to Prototype 2, we will need the response from Prototype 2 to override the response for Prototype 1 (as shown in the attached png) and so on for Prototype 3.
This is what I have been able to draft so far:
IF(
AND( {P1 Cost Status} = BLANK(),
{P2 Cost Status} = BLANK(),
{P2 Cost Status} = BLANK(), BLANK()
IF(
AND( {P1 Cost Status} = "Green - Meeting or Exceeding Target",
{P2 Cost Status} = "Green - Meeting or Exceeding Target",
{P2 Cost Status} = "Green - Meeting or Exceeding Target", "Meeting Target")
IF(
AND( {P1 Cost Status} = "Orange -1% to -4.99% Variance",
{P2 Cost Status} = "Orange -1% to -4.99% Variance",
{P2 Cost Status} = "Orange -1% to -4.99% Variance", "Not Meeting Target")
IF(
AND( {P1 Cost Status} = "Red -5% or More Variance",
{P2 Cost Status} = "Red -5% or More Variance",
{P2 Cost Status} = "Red -5% or More Variance", "Not Meeting Target")
)
)
)
)
)
Please ask questions if any clarification is needed.