AD8370 gain modes


How to calculate the point where AD8370 has the same gain in both low gain mode and high gain mode. I need to switch smoothly between the two modes (for AGC (automatic gain control) construction). In the datasheet there is only a formula for calculating gain in high gain mode.