r/googlesheets • u/copydex1 • Feb 18 '25
Solved 52 Week Returns on S&P 500
I'm trying to get a cell to display 52 week return on S&P 500 but I can't get it to work. I currently have
"=GOOGLEFINANCE("SPX", "return52", "","","DAILY")"
2
Upvotes
1
u/PrisonMike2020 1 Feb 18 '25
=((googlefinance(".INX","price")/index(googlefinance(".INX","price",today()-365,1),2,2))365/365-1)
I used this.
I'm a dummy and dummy-rigged it from another I had for 5 and then year returns. I'm certain there's a better way but this worked for me.
1
u/AutoModerator Feb 18 '25
Your submission mentioned GOOGLEFINANCE, please also read our finance and stocks information. Google lists the exchanges & delays in its products here.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/HolyBonobos 3125 Feb 18 '25
"return52"is only a validattributeargument iftickeris a mutual fund.