How Do I Create a Week Ending Date Formula For an Expense Report? In Microsoft Excel?


As an example you might be placing collectively an expense report sheet for all your staff to make use of. You need them to have the ability to enter per week ending date and the spreadsheet will robotically compute the remainder of the dates for the week. Listed below are the 2 essential formulation we shall be utilizing:

=IF(B1″”,IF(WEEKDAY(B1)7,B1+7-WEEKDAY(B1),B1),””)

=IF($B$2″”,$B$2-6,””)

First it says, if the date in cell B1 doesn’t equal () clean (“”), then go on to the subsequent a part of the formulation, in any other case depart clean. The formulation =weekday() returns a no 1 to 7 figuring out the day of the week of date. In our instance, I’ve chosen 2/12/2010 because the week ending date. =weekday(B1) seems to be 6. So, if the weekday of B1, which is 6, doesn’t equal 7, then take the worth of B1, 12, add 7 to get 19, then subtract weekday of B1, 6. We find yourself at 13. (recap: 12+7=19. 19-6=13.) The date displayed is 2/13/2010.

Now it’s on to the subsequent formulation for every day. Sunday’s formulation is: =IF($B$2″”,$B$2-6,””). If B2 doesn’t equal clean then subtract 6, in any other case depart clean. In our instance we have now 13-6=7 which supplies us the right date for Sunday, February 7, 2010. The formulation for Monday is: =IF($B$2″”,$B$2-5,””) which supplies us 13-7=8 for Feb. eighth and so forth till Saturday. There you could have it, one simple method to enhance your what is expense management experiences.

I may simply put this up as templates and never even hassle explaining how they work however how many individuals would take the time to try to determine how they work? You’ll study rather a lot and really feel way more completed in case you strive constructing these spreadsheets by yourself. Be happy to let me know you probably have any questions or feedback.


Leave a Reply

Your email address will not be published. Required fields are marked *