For anyone interested, the formula I settled on that is near reported numbers:

TotMCap = Total Market Cap of SP500
TotShrs = Total Shares in SP500

For each company :  (Shrs / TotShrs) * (MCap / TotMCap) * Income for EPS.

Sum and get SP500 earnings.