1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Dynamic YTD Formula from Pivot Table Data

Hi, I was tasked with creating a dynamic P&L statement from a trial balance query. The P&L statement is supposed to have a period selection tab(select period type(month, quarter) -> select period(june, q2, etc). I have to come up with a formula that calculates CY YTD and PY YTD and automatically updates whenever the selected period is changed. Does anyone have any idea as to how I can do this? And if there's any way to achieve this without the Pivot Table, thats also fine. I've been stuck for hours.

https://preview.redd.it/qk83w0iifpxg1.png?width=1716&format=png&auto=webp&s=3e6d8be78665054293ecff77a0e659a6acbc254a

https://preview.redd.it/dfa9x2iifpxg1.png?width=1378&format=png&auto=webp&s=ea6996e5648327ad13c9bb3da9339137da80e825

submitted by /u/Relative-Neck6922
[link] [comments]

Want to read more?

Check out the full article on the original site

View original article

Tagged with

#Excel alternatives for data analysis
#financial modeling with spreadsheets
#AI formula generation techniques
#generative AI for data analysis
#rows.com
#formula generator
#natural language processing for spreadsheets
#Excel compatibility
#Excel alternatives
#big data management in spreadsheets
#conversational data analysis
#real-time data collaboration
#intelligent data visualization
#data visualization tools
#enterprise data management
#big data performance
#data analysis tools
#data cleaning solutions
#P&L statement
#CY YTD