Dan Wilson
Well-known Member
- Joined
- Feb 5, 2006
- Messages
- 534
- Office Version
- 365
- Platform
- Windows
Good day. I am using Excel 2003 on Win XP Pro and consider myself to be an above average user. I have a workbook containing 32 worksheets. The first 31 worksheets relate to each day of the month. The last worksheet is a totals sheet showing totals for the month. The totals worksheet shows the total days in the month versus the total days my store was actually open in the month. I am currently using a table in a hidden area of the worksheet with one cell for each month and an adjacent cell for each month containing the number of days in that month. The number of days in the month is then accessed using a VLOOKUP function using the current month of the workbook. I have searched the message board for topics about leap year, but did not find what I am looking for.
What I want to know is if there is a way to detect the leap year in a cell formula so that the number of days in the month of February can be adjusted for a leap year? I seem to recall that many years ago I was able to create such a formula, but I can no longer find it.
Thanks for any help. Danno...
What I want to know is if there is a way to detect the leap year in a cell formula so that the number of days in the month of February can be adjusted for a leap year? I seem to recall that many years ago I was able to create such a formula, but I can no longer find it.
Thanks for any help. Danno...