Category based on in 2 levels

I’m trying to create 2 CF where both depends on the value in a 3 CF.

For example, lets say I have a field called “type” with the values:

  • primary
  • secondary
  • tertiary

I then have two CF which depends on the value in the “type”:

The first, lets call it “Secondary type”. Values in the first CF depende type being secondary OR tertiary.

The second. " Tertiary type" values in the second CF depends on “type” being “tertiary”

The second field is easily achievable, but I cannot find a way to make a value in a CF depend on 2 categories, other than “faking” it by duplicating all values in the “Secondary type” as a “tertiary” category, so all values are present for both secondary and tertiary.