Extracting data onto summary page and sorting by expiry date

jiggaman84

New Member
Joined
Jan 22, 2010
Messages
17
Hello out there,

I have two sheets. The first sheet is list of all tenants in a portfolio of a hundred properties (thousands of tenants). Each line has Name of Property (column A), tenant name (B), square footage of tenant (C), rent and expiry date (D).

The second sheet is a summary page that list the various info described above that gets populated based on the property name (I use a drop down menu here located in 'Summary Template'!$A$2).

What I am trying to do is extract all the tenants who are expiring in 2013 and show them in a list sorted from earliest date to latest.

I have been able to extract the data no problem with index/match/small formula but I can't seem to figure out how I can get a formula to sort it. I've been told to use Rank but can't seem to make it work.

FOR MY PURPOSES I CANNOT USE PIVOT TABLES, ADVANCED FILTERING, OR SORT THE FIRST SHEET BY DATE.

Can i modify my current formula to automatically display the tenant by earliest expiry date?

Here is the formula I am using:

=IFERROR(INDEX(Sheet1!$E$1:$CC$135,SMALL(IF((Sheet1!$E$30:$E$135='Summary Template'!$A$2)*(Sheet1!$R$30:$R$135<=DATE(2013,12,31))*(Sheet1!$R$30:$R$135>=DATE(2013,1,1))*(Sheet1!$R$30:$R$135>0),ROW(Sheet1!$E$30:$E$135)),ROW(1:1)),MATCH(E$23,Sheet1!$E$29:$AD$29,0)),"")

Thanks in advance,

jiggaman84
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,215,563
Messages
6,125,560
Members
449,237
Latest member
Chase S

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