Pull data from different column based on current date
I am looking to use the sheet below that was created that has hours of projects by week. Each project is on its own line
I am looking to return all hours from this sheet for the "current week" this will obviously change based on the date.
I think there isn't a way to dynamically change the column referenced. Can you help me think of another way to sum all these numbers ONLY for the current week?
Answers
-
Since you have the row with Week 1, Week 2 ….. Week N, you could run a match() on that column to look for the current week. Then you'd know the column index in the sheet of the current week.
With the column index, you could then match the correct row by column.
It would take some Index()Match() formula work, that that's how you'd do it. Match not only the row index, but also the column.
Darren Mullen, join the Smartsheet Guru Elite
Get my 7 Smartsheet tips here
Author of: Smartsheet Architecture Solutions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!