src/ExcelHelper.php
public static function getExcelColumnName($num) {
		$num--;
		for ($name = ''; $num >= 0; $num = intval($num / 26) - 1) {
			$name = chr($num % 26 + 0x41) . $name;
		}
		return $name;
	}
public static function getExcelColumnName($num) {
		$num--;
		for ($name = ''; $num >= 0; $num = intval($num / 26) - 1) {
			$name = chr($num % 26 + 0x41) . $name;
		}
		return $name;
	}
public static function getExcelColumnName ( $ num ) { $ num -- ; for ( $ name = '' ; $ num >= 0 ; $ num = intval ( $ num / 26 ) - 1 ) { $ name = chr ( $ num % 26 + 0x41 ) . $ name ; } return $ name ; }
Converts numbers to Excel-like column names
A = 1
@param int $num
@return string
Converts numbers to Excel - like column names A = 1