VLookup on two rows from bottom to top

USAMax

Well-known Member
Joined
May 31, 2006
Messages
843
Office Version
  1. 365
Platform
  1. Windows
I have the Owner Statement for rental properties that I need to summarize. I am trying to get the name of the current tenant that will be at the bottom of the list.

Right now cell B1 is a drop-down of all properties. When a property is selected, that property's transactions are filtered.

I need the last cell in column D that matches B1 in column B and with "Rent Income" in column C.

Data header row is on row 12 and goes to row 322 but I will be adding data each month.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Maybe
Excel Formula:
=INDEX($D$12:$D$500,AGGREGATE(14,6,(ROW($D$12:$D$500)-ROW($D$12)+1)/($B$12:$B$500=$B$1)/($C$12:$C$100="Rent Income"),1))
 
Upvote 0
I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Maybe
Excel Formula:
=INDEX($D$12:$D$500,AGGREGATE(14,6,(ROW($D$12:$D$500)-ROW($D$12)+1)/($B$12:$B$500=$B$1)/($C$12:$C$100="Rent Income"),1))
Wow, impressive and above my skill set. I would never have come up with this. It works amazingly!

I have updated my Account Details,

Thank you!
 
Upvote 0

Forum statistics

Threads
1,214,822
Messages
6,121,770
Members
449,049
Latest member
greyangel23

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