Mirroring the most recent date to another cell
Greetings
I am attempting to complete a project where routine maintenance tasks are assigned in rotation between 3 shifts. Tasks are cycled Bi-Weekly, Monthly, Bi-Monthly and Bi-Yearly. I have a formula that is suppose grab the last date in a date column. The date that is being referenced in "BY1 Date" is applied by a workflow that "Records a Date" when the task is submitted via the attached form. The formula I'm using works in other scenarios (example of it working can be seen highlighted in yellow in "Date" column) but fails in this case as #INVALID DATA TYPE. "BY1 Data" and "BY Date" columns are indeed set to Date. Formula is:
=WORKDAY(INDEX([BY1 Date]:[BY1 Date], COUNTIFS([BY1 Date]:[BY1 Date], NOT(ISBLANK(@cell)))), -1)
I'm thinking it's because of the blank cells, but I'm having troubles figuring out the correct formula.
Any help provided would be greatly appreciated.
Answers
-
Welp, I may have been wildly overthinking this. I think I found my answer to be as simple as =MAX
-
Hey @EricR
I'm glad you found a solution! 🙂
You can use a combination of MAX(COLLECT if you need to filter down what type of Max date is needed. Here's an article with an example:
Formula combinations for cross sheet references
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!