Hi! I've been scratching my head on this one for awhile, and I'm pretty new to excel. I can reverse-engineer code to figure out what it is doing, but writing it is a whole other story...
I need to create an Excel spreadsheet with the following rules:
1. There are only 30 days in a month
1. Users are able to enter a number of months and days as MM-DD in one single column
2. The spreadsheet must be able to take those months and days, then add or subtract them to a result on another cell in the same column
3. The result can have a maximum outcome of 130-29 (this result would round to "131 months" as seen in rule 5)
4. The maximum number of days after the dash can only be 29 before rounding up to another month, so for example, 00-30 would equal 01-00, and 00-32 would equal 01-02
5. The result would always round up to the greater month, so, for example, whether the result is 01-01 or 01-29, the result would always read "2 months"
I can't get my head around this one. Maybe one of you gurus can help?
Bookmarks