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
- Smartsheet Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 463 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!