Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I need to create a formula that will automatically calculate the number of
tickets sold per month that takes into account the current date. The number of tickets sold since July 1, 2007 is in a cell which is continuoslu updated. As of today, October 9th, we have sold 5251 tickets which will result in around 1595 tickets per month. But this sure has me stumped, any ideas? -- Brian |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Assume the number of tickets sold is in A1, and in D1 you have the
reference date (1st July 2007) in Excel date format. This formula will give you the number sold per day: =A1/(TODAY()-D1) If you take it that an average month is 30 days, then multiply by 30 to get the monthly rate. Hope this helps. Pete On Oct 9, 4:44 pm, Brian wrote: I need to create a formula that will automatically calculate the number of tickets sold per month that takes into account the current date. The number of tickets sold since July 1, 2007 is in a cell which is continuoslu updated. As of today, October 9th, we have sold 5251 tickets which will result in around 1595 tickets per month. But this sure has me stumped, any ideas? -- Brian |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=A1*(365.2425/12)/(TODAY()-DATE(2007,7,1))
The 365.2425/12 term is what I have taken as the average number of days in a month. You may wish to define a month differently. -- David Biddulph "Brian" wrote in message ... I need to create a formula that will automatically calculate the number of tickets sold per month that takes into account the current date. The number of tickets sold since July 1, 2007 is in a cell which is continuoslu updated. As of today, October 9th, we have sold 5251 tickets which will result in around 1595 tickets per month. But this sure has me stumped, any ideas? -- Brian |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks Pete and David, Davids works best but I ended up using a cell location
instead of the date(2007,7,1) for last years year end. I tip my hat to you both. -- Brian "David Biddulph" wrote: =A1*(365.2425/12)/(TODAY()-DATE(2007,7,1)) The 365.2425/12 term is what I have taken as the average number of days in a month. You may wish to define a month differently. -- David Biddulph "Brian" wrote in message ... I need to create a formula that will automatically calculate the number of tickets sold per month that takes into account the current date. The number of tickets sold since July 1, 2007 is in a cell which is continuoslu updated. As of today, October 9th, we have sold 5251 tickets which will result in around 1595 tickets per month. But this sure has me stumped, any ideas? -- Brian |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I need to create a formula that will automatically calculate the number of
tickets sold per month that takes into account the current date. The number of tickets sold since July 1, 2007 is in a cell which is continuoslu updated. As of today, October 9th, we have sold 5251 tickets which will result in around 1595 tickets per month. But this sure has me stumped, any ideas? Here is another possibility... it calculates the actually number of months passed prior to the current month and adds to that the fraction of the current month that has passed to date (day of month divided by total days in month) and divides that into A3 (where I am assuming your total number of tickets sold is kept). =A3/(DATEDIF(DATE(2007,7,1),TODAY(),"m")+DAY(TODAY())/DAY(DATE(YEAR(TODAY()),MONTH(TODAY())+1,0))) Rick |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
MAX figure within a date range as a function of today()'s date | Excel Worksheet Functions | |||
Using TODAY function to return a date as text | Excel Discussion (Misc queries) | |||
SUMIF within date range as a function of today()'s date | Excel Worksheet Functions | |||
=TODAY() function to fix the date | Excel Discussion (Misc queries) | |||
Today() or Date() function help | Excel Discussion (Misc queries) |