[{"data":1,"prerenderedAt":48},["ShallowReactive",2],{"lesson-shell:dates\u002Fdate-math:en":3},{"id":4,"who":5,"role":6,"image":7,"text":8},"date-math","Wei Chen","owns Spark & Shine Cleaning","\u002Fpersona\u002Fwei.webp",{"none":9,"win":36,"mac":42},{"title":10,"story":11,"steps":12},"Days until the deadline","Wei runs a cleaning company. He writes dates in three formats: 3\u002F6, March 6th and 6.3. His crew is never sure which day he means. Now his jobs are in Excel. Each job has a deadline. Wei wants to know how many days are left.",[13,26],{"id":14,"title":15,"intro":16,"how":17,"example":24,"task":25},"days-left","Subtract two dates","Excel keeps a date as a number of days. When you subtract two dates, you get the number of days between them.",[18,19,20,21,22,23],"Select the cell for the result.","Type = and the cell with the later date.","Type a minus sign and the cell with the earlier date.","Press Enter.","To copy the formula down, write =C5-$I$4. The $ keeps today in I4.","If the result shows a date, format the cell as a number.","=C5-I4","Calculate the days left for Pine Hotel. Put the result in cell D7.",{"id":27,"title":28,"intro":29,"how":30,"example":34,"task":35},"start-by","Subtract days from a date","A date minus a number of days gives a new date. Excel shows the result as a date.",[31,32,21,33],"Click cell F5.","Type = and the date. Then type a minus sign and the number of days.","A date plus a number works the same way: =C5+14 is two weeks after the date in C5.","=C5-E5","Find the last start day for Pine Hotel. Put the result in cell F7.",{"title":10,"story":11,"steps":37},[38,40],{"id":14,"title":15,"intro":16,"how":39,"example":24,"task":25},[18,19,20,21,22,23],{"id":27,"title":28,"intro":29,"how":41,"example":34,"task":35},[31,32,21,33],{"title":10,"story":11,"steps":43},[44,46],{"id":14,"title":15,"intro":16,"how":45,"example":24,"task":25},[18,19,20,21,22,23],{"id":27,"title":28,"intro":29,"how":47,"example":34,"task":35},[31,32,21,33],1795376394119]