They are two formulas to determine which column to read from the pivot table. They contain the total number of available apartments per each size, ID and region
Oops, sorry about that i uploaded an older version of the excel (using my phone now) . Anyhow, it is the same for H1_Range and H2_Range (the values in H1_Range that are higher than the values available in H2_Range leaving the other criteria intact). I edited the original post
Again sorry about that!