Average - multiple parameters

Nicnak

New Member
Joined
May 25, 2017
Messages
11
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.
 
Last edited:

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Re: Average - multipul parameters

You really should wait at least a day before "bumping" your thread. many members look for 0-reply threads, yours now has 1 reply after you posted

1st mistake you are making is to take an average of averages - that is mathematically incorrect

You may need to add a helper column to pull the data you need to look at. Can you post some sample data please?
 
Upvote 0
Re: Average - multipul parameters

You really should wait at least a day before "bumping" your thread. many members look for 0-reply threads, yours now has 1 reply after you posted

1st mistake you are making is to take an average of averages - that is mathematically incorrect

You may need to add a helper column to pull the data you need to look at. Can you post some sample data please?


Sorry, I'm very new to this. I've tried to cut & paste data in the message, but is didn't work. Is there another way?
 
Upvote 0
Re: Average - multipul parameters

JanFebMar
contract startcontract finishcontract typeweekly rateInroomReservedHistoryInroomReservedHistoryInroomReservedHistory
15/01/201715/07/20176 Months (SP1) $294.00 1431
28/01/201728/01/201812 Months (Sem 1) $224.0032831
1/02/20171/02/201812 Months (Sem 1) $259.00 2831
10/01/201718/02/2017Short Stay $319.002117
5/01/201731/01/2017Short Stay $349.0026
31/01/201731/07/20176 Months (SP1) $424.0012831
15/02/20172/03/2017Short Stay $319.00131
2/07/20162/01/20176 Months (Sem 2) $300.002
28/02/201728/08/20176 Months (Sem 1) $300.00131
Jan-17Feb-17Mar-17Apr-17May-17
Average Weekly RateAverage Weekly RateAverage Weekly RateAverage Weekly RateAverage Weekly Rate
6 Months (Sem 2)
12 Months (Sem 1)
Short Stay

<tbody>
</tbody>

Example
 
Upvote 0

Forum statistics

Threads
1,214,806
Messages
6,121,667
Members
449,045
Latest member
Marcus05

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top