Using INDEX/MATCH or other to find first record meeting criteria

glamlife

New Member
Joined
Oct 30, 2002
Messages
18
Hello!

I've been struggling trying to come up with a formula for this situation.

I have an Excel model with two basic levels of data: Plots of land and Hotel buildings on them. (I am using Excel 2007.)
Book2
ABCD
1BldgIDPlotIDNo.ofRoomsMainBldg?(T/F)
2B-01P-0169
3B-02P-01102
4B-03P-0197
5B-04P-0240
6B-05P-02120
7B-06P-0256
8B-07P-03170
9B-08P-0388
10B-09P-03140
11B-10P-03220
Sheet1


I am trying to figure out a formula which will identify the first Hotel building on the plot to have 100 rooms or more. This will be identified as the "Main Building", and this status will be used to trigger other formulas in the spreadsheet (not shown).

My guess is that some combination of Index/Match with a logic statement would work, but I cannot figure out how to construct it.

Any help will be much appreciated!

Matt (glamlife)
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Thanks so much for your help!

I should've known it would take a CSE formula... those are my kryptonite.

Matt (glamlife)
 
Upvote 0
Hi again.

Sorry I've just realised this isn't quite the solution I needed - but I think it's a variation on the same formula.

I'd like the formula to produce a TRUE/FALSE result - the condition being that if the building in that row is the first building on the plot to have 100 or more rooms, the result will be TRUE, otherwise FALSE.

Hope that makes sense!

Thanks,

Matt
 
Upvote 0

Forum statistics

Threads
1,214,590
Messages
6,120,421
Members
448,961
Latest member
nzskater

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