The Step 2 Rise formula:
-If "Visble_Step1 "is visble (i.e. is true, thus has a checkmark) then the height of this step should be 0' 11" otherwise it should be 0' 7"
-Because we hide step 1, step 2 becomes th first step and should be lower
-When step 1 is visble (at 0 '7") step 2 must be higher, thus 0'11"
The Step 3 Rise formula:
-If "Visble_Step1" is visible/true then the height of this third step should be 1' 7". (We have three steps)
If "Visble Step 2" is visible/true but not "Visble_Step1" then third step should be 1' 2" (We have two steps)
If not than third step should be 0' 7" (We have zero or one step)
-The if statement stops when a true statement is observed.
-When "Visble_Step1" is visible/true then automatically step 2 is also visible/true thus step 3 must be highest at 1' 7"
-When Step 1 is not visble/false then revit goes to check next statement. If step 2 is visible (step 1 was already checked not to be visible) thus we have two steps thus Step 3 must be 1' 2" .
-When Step 1 and Step 2 are not visble then we only have step 3 left and it shall be 0' 7" (If it is even lower than also this step will be hidden)
Try to experiment with the family and see what it does and how it works.
Louis

Please mention Revit version, especially when uploading Revit files.