Hi All
I need to average out rates per within a particular status and taking in to account the number of days contracted for the month. I have one already in place, BUT there are to many averages to get the correct answer (as ive had to average out per status type and then average the 3 status to get one average) and if there is a lot of movement for the month the rate can be up to $30 discrepancy. So I was hoping there is a formula that I can use, that cuts out some steps. I know it will be a long one but here as a example of what I need to average:
It needs to be broken down in to Booking type and into month
Booking type
Short Stay
6 month
12 months
etc
Headers are
Booking type
Weekly rate
12 Months - under each month, it is split into 3 status (inroom/reserved/history). While the status is in 3 different columns, for this purpose I'm only concerned about the average rate as a whole for the month.
So if the booking type is equal to the same booking type, take the weekly rate/7 to get the daily rate, taking in to account how many days in the month they are contracted for (within the 3 statuses). Not averaging any columns that are zero.
this is the current formula: =IFERROR(AVERAGEIFS('Data Control'!$K:$K,'Data Control'!$H:$H,'Average Weekly rate'!$A86,'Data Control'!$T:$T,">=1"),0)
Hopefully I've explained this without to much confusion.
I need to average out rates per within a particular status and taking in to account the number of days contracted for the month. I have one already in place, BUT there are to many averages to get the correct answer (as ive had to average out per status type and then average the 3 status to get one average) and if there is a lot of movement for the month the rate can be up to $30 discrepancy. So I was hoping there is a formula that I can use, that cuts out some steps. I know it will be a long one but here as a example of what I need to average:
It needs to be broken down in to Booking type and into month
Booking type
Short Stay
6 month
12 months
etc
Headers are
Booking type
Weekly rate
12 Months - under each month, it is split into 3 status (inroom/reserved/history). While the status is in 3 different columns, for this purpose I'm only concerned about the average rate as a whole for the month.
So if the booking type is equal to the same booking type, take the weekly rate/7 to get the daily rate, taking in to account how many days in the month they are contracted for (within the 3 statuses). Not averaging any columns that are zero.
this is the current formula: =IFERROR(AVERAGEIFS('Data Control'!$K:$K,'Data Control'!$H:$H,'Average Weekly rate'!$A86,'Data Control'!$T:$T,">=1"),0)
Hopefully I've explained this without to much confusion.
Last edited: