Objective: create a List-View Button that writes the date value of the immediately upcoming Monday to a field in the selected record(s)
E.g. if Monday is Dec 5, the expected output for writing a value to that field would be: 12/5/2016
What are some recommended ways to write a "formula" so that regardless at one day in the week, a user clicking the button will achieve the expected output of writing the date of the upcoming Monday to that record?
Where I have gotten so far is this formula which is more for retrieving the text-value of a date, but I need to write a dynamically changing date value that will always be the datevalue of the upcoming Monday.
CASE(MOD( {!CloseDate} - DATE(1900, 1, 6), 7), 0, "Saturday", 1, "Sunday", 2,"Monday", 3, "Tuesday", 4, "Wednesday", 5, "Thursday", 6,"Friday","")