Can't seem to figure out this formula.
I need to create a sum of the top 10 tenant rents for a property.
I was able to create a Large If formula to pull in the top 10 square footages (size) as follows:
+SUM(LARGE(IF('Rent Roll'!$G$1:$G$1000<=$E$42,IF(('Rent Roll'!$G$1:$G$1000>=$M$24)+('Rent Roll'!$K$1:$K$1000="MTM"),'Rent Roll'!$E$1:$E$1000)),ROW(INDIRECT("1:"&G47))))
Where as:
'Rent Roll'!$G$1:$G$1000<=$E$42 is all values less 12/31/16
'Rent Roll'!$G$1:$G$1000>=$M$24 is all values greater than 6/30/15
'Rent Roll'!$K$1:$K$1000="MTM" Includes month to month tenants
'Rent Roll'!$E$1:$E$1000 Is the square footage (size) of tenants
ROW(INDIRECT("1:"&G47 brings in the top X tenants; g47 set up as 10
Now, the tenants annual rents are located in 'Rent Roll'!$AC$1:$AC$1000
I can't seem to get a sumif formula to work and I think it has something to do with the array filter.
What I would like to do is be able to type in any number in G47, and it will total annual rent for the top X tenants. This way, I can simply calculate the weighted average rent for the top X tenants at any time.
Any pointers?
I need to create a sum of the top 10 tenant rents for a property.
I was able to create a Large If formula to pull in the top 10 square footages (size) as follows:
+SUM(LARGE(IF('Rent Roll'!$G$1:$G$1000<=$E$42,IF(('Rent Roll'!$G$1:$G$1000>=$M$24)+('Rent Roll'!$K$1:$K$1000="MTM"),'Rent Roll'!$E$1:$E$1000)),ROW(INDIRECT("1:"&G47))))
Where as:
'Rent Roll'!$G$1:$G$1000<=$E$42 is all values less 12/31/16
'Rent Roll'!$G$1:$G$1000>=$M$24 is all values greater than 6/30/15
'Rent Roll'!$K$1:$K$1000="MTM" Includes month to month tenants
'Rent Roll'!$E$1:$E$1000 Is the square footage (size) of tenants
ROW(INDIRECT("1:"&G47 brings in the top X tenants; g47 set up as 10
Now, the tenants annual rents are located in 'Rent Roll'!$AC$1:$AC$1000
I can't seem to get a sumif formula to work and I think it has something to do with the array filter.
What I would like to do is be able to type in any number in G47, and it will total annual rent for the top X tenants. This way, I can simply calculate the weighted average rent for the top X tenants at any time.
Any pointers?