ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   need help with daily total (https://www.excelbanter.com/excel-discussion-misc-queries/116776-need-help-daily-total.html)

p-nut

need help with daily total
 
I am trying to add up numbers for each day of the week, and I can't figure
out how to set it up so that if the month only has thirty days, that I don't
have to add a number in the 31st. Also, what is the function so that I can
subtract the last day from the first? Please help.

Roar

need help with daily total
 
Hi p-nut,

Your question is not very clear to me, but this formula allocates a number
to the day, Jan 1th = 1, Jan 2th = 2... Dec 31th = 365/366.

DAYS360(A1;38718)

Cell A1 contains the actual day, 38718 = Jan 1th, 2006.

Your second question, use the ordinary subtract function.



--
~roar


p-nut skrev:

I am trying to add up numbers for each day of the week, and I can't figure
out how to set it up so that if the month only has thirty days, that I don't
have to add a number in the 31st. Also, what is the function so that I can
subtract the last day from the first? Please help.



All times are GMT +1. The time now is 09:51 PM.

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