Laurence83
New Member
- Joined
- Jun 1, 2016
- Messages
- 19
Hi,
I've got a spreadsheet which has over 9,000 hotels on it & i use Sumifs and Countifs to work count-up the number of bookings and bed nights at each property. I've got to circulate this report and as you can imagine, looking through 9,000 properties isn't very interesting! So what i do is narrow it down to the top 50 most improved and the bottom 25 worst performers (compared to their performance over the same period last year.
I thought i'd cracked it by using this formula to find the largest number =LARGE('Property Stats'!Q$4:Q$9631,A138) & then the following formula in array {=MAX(IF('Property Stats'!Q$4:Q$9631<F138,'Property Stats'!Q$4:Q$9631))} to get the next 49. I'd then use this formula to get the name of the hotel =INDEX('Property Stats'!B$4:B$9631,MATCH($F138,'Property Stats'!$Q$4:$Q$9631,0),0). And then vlookups off the hotel name to get any other data i wanted.
But..... I've just found out (after thinking this worked fine last quarter) that the array formula is missing out some properties, because if for example the 10th ranked property has a value of 100 and the 11th ranked property also has a value of 100 it'll only pull through the 10th ranked property and then move on to the next unique value.
Has anyone come across a similar problem or has any suggestions?
If any of this ins't clear please let me know (this is my first time posting here - but I've used this forum a lot to help me out)
Thanks
Laurence
I've got a spreadsheet which has over 9,000 hotels on it & i use Sumifs and Countifs to work count-up the number of bookings and bed nights at each property. I've got to circulate this report and as you can imagine, looking through 9,000 properties isn't very interesting! So what i do is narrow it down to the top 50 most improved and the bottom 25 worst performers (compared to their performance over the same period last year.
I thought i'd cracked it by using this formula to find the largest number =LARGE('Property Stats'!Q$4:Q$9631,A138) & then the following formula in array {=MAX(IF('Property Stats'!Q$4:Q$9631<F138,'Property Stats'!Q$4:Q$9631))} to get the next 49. I'd then use this formula to get the name of the hotel =INDEX('Property Stats'!B$4:B$9631,MATCH($F138,'Property Stats'!$Q$4:$Q$9631,0),0). And then vlookups off the hotel name to get any other data i wanted.
But..... I've just found out (after thinking this worked fine last quarter) that the array formula is missing out some properties, because if for example the 10th ranked property has a value of 100 and the 11th ranked property also has a value of 100 it'll only pull through the 10th ranked property and then move on to the next unique value.
Has anyone come across a similar problem or has any suggestions?
If any of this ins't clear please let me know (this is my first time posting here - but I've used this forum a lot to help me out)
Thanks
Laurence