ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   days in a year (https://www.excelbanter.com/excel-worksheet-functions/22043-days-year.html)

gcape

days in a year
 
What formula do I use to designate the number of days in a prticular year?

Chip Pearson

If your year number is in A1, the following formula will return
either 365 or 366.

=365+(MONTH(DATE(A1,2,29))=2)

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"gcape" wrote in message
...
What formula do I use to designate the number of days in a
prticular year?





All times are GMT +1. The time now is 02:57 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com