ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Convert real time to a % in Excel (https://www.excelbanter.com/excel-discussion-misc-queries/102415-convert-real-time-%25-excel.html)

barry

Convert real time to a % in Excel
 
I want to create a formula that calculates the time gone in a year as a %
which updates automatically when the spreadsheet is opened. For example the
end of July would be 58.45% time gone

Bob Phillips

Convert real time to a % in Excel
 
=(A1-DATE(YEAR(A1),1,0))/(DATE(YEAR(A1)+1,1,0)-DATE(YEAR(A1),1,0))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Barry" wrote in message
...
I want to create a formula that calculates the time gone in a year as a %
which updates automatically when the spreadsheet is opened. For example

the
end of July would be 58.45% time gone





All times are GMT +1. The time now is 08:42 PM.

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