[{"data":1,"prerenderedAt":48},["ShallowReactive",2],{"lesson-shell:dates\u002Feomonth-edate:en":3},{"id":4,"who":5,"role":6,"image":7,"text":8},"eomonth-edate","Wei Chen","owns Spark & Shine Cleaning","\u002Fpersona\u002Fwei.webp",{"none":9,"win":36,"mac":42},{"title":10,"story":11,"steps":12},"Invoice due dates","Wei sends invoices. His clients pay at the end of the next month. Wei used to count the days on a paper calendar, in all three of his date formats. His contracts also renew after some months. Excel can find both dates for him.",[13,26],{"id":14,"title":15,"intro":16,"how":17,"example":24,"task":25},"eomonth","Find the end of a month with EOMONTH","EOMONTH gives the last day of a month. The second value moves the month: 0 is the same month, 1 is the next month.",[18,19,20,21,22,23],"Select the cell for the result.","Type =EOMONTH(","Type the cell with the date, a comma, the number of months and a closing bracket.","Press Enter.","EOMONTH gives a number. Format the cell as a date to see the date. In this sheet, the cells already have a date format.","EOMONTH(C5,0) gives the end of the same month.","=EOMONTH(C5,1)","Find the due date of the Pine Hotel invoice. Put the result in cell D7.",{"id":27,"title":28,"intro":29,"how":30,"example":34,"task":35},"edate","Add months with EDATE","EDATE adds a number of months to a date. The day stays the same if the month has it.",[31,32,21,33],"Click cell H5.","Type =EDATE( and the cell with the date. Type a comma, the number of months and a closing bracket.","A negative number goes back: EDATE(F5,-1) is one month before.","=EDATE(F5,G5)","Find the renewal date of the Pine Hotel contract. Put the result in cell H7.",{"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],1795376395310]