Scotster
Board Regular
- Joined
- May 29, 2017
- Messages
- 52
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi there,
Looking for some help with an array formula I'm trying to come up with. I have a dataset which is mostly auto-populated. There are a few exceptions where the cells are not populated, and never will be, thus I wish to find the last row matching a certain set of criteria.
The formula I have for now is...
It's successful in finding the first empty cell in Column while matching B2 with column A.
The trouble I have is that there are occasions where values in C are intentionally skipped and left blank, with further data filled in below. Therefore, I would like to get the index value by searching from the bottom of the sheet.
I thought I could do something like....
I don't have enough experience with this method though and I've only ever done it with simple match statements with single criteria.
Am I on the right path?
ValueA INFOA Date1
ValueA INFOB Date2
ValueA INFOC Date3
ValueA INFOD
ValueA INFOE Date4
ValueA INFOF Date5
ValueA INFOG Date6
ValueA INFOH
ValueA INFOI
ValueA INFOJ
In the above example I want to find INFOH.My formula successfully finds INFOD. Unfortunately sometimes INFOD will be the correct answer, when there is no subsequent dates filled in.
Many thanks
Looking for some help with an array formula I'm trying to come up with. I have a dataset which is mostly auto-populated. There are a few exceptions where the cells are not populated, and never will be, thus I wish to find the last row matching a certain set of criteria.
The formula I have for now is...
Code:
=INDEX('IW39'!B:B,MATCH(1,('IW39'!A:A=B2)*('IW39'!C:C=""),0),1)
It's successful in finding the first empty cell in Column while matching B2 with column A.
The trouble I have is that there are occasions where values in C are intentionally skipped and left blank, with further data filled in below. Therefore, I would like to get the index value by searching from the bottom of the sheet.
I thought I could do something like....
Code:
=INDEX('IW39'!B:B,MATCH(2,1/(('IW39'!A:A=B2)*('IW39'!D:D="")),0),1)
I don't have enough experience with this method though and I've only ever done it with simple match statements with single criteria.
Am I on the right path?
ValueA INFOA Date1
ValueA INFOB Date2
ValueA INFOC Date3
ValueA INFOD
ValueA INFOE Date4
ValueA INFOF Date5
ValueA INFOG Date6
ValueA INFOH
ValueA INFOI
ValueA INFOJ
In the above example I want to find INFOH.My formula successfully finds INFOD. Unfortunately sometimes INFOD will be the correct answer, when there is no subsequent dates filled in.
Many thanks
Last edited: