code: public static function NORMINV($probability, $mean, $stdDev)
      {
          $probability = Functions::flattenSingleValue($probability);
          $mean = Functions::flattenSingleValue($mean);
          $stdDev = Functions::flattenSingleValue($stdDev);
  
          if ((is_numeric($probability)) && (is_numeric($mean)) && (is_numeric($stdDev))) {
              if (($probability < 0) || ($probability > 1)) {
                  return Functions::NAN();
              }
              if ($stdDev < 0) {
                  return Functions::NAN();
              }
  
              return (self::inverseNcdf($probability) * $stdDev) + $mean;
          }
  
          return Functions::VALUE();
      }
docs: NORMINV.
  
  Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation.
  
  @param float $probability
  @param float $mean Mean Value
  @param float $stdDev Standard Deviation
  
  @return float