Hi,
I have a model that has three workbooks. Workbook 1 and 2 contains different data sets – there are only two columns in worksheet 1 that can be matched to worksheet 2. Worksheet 3 is my summary page where i am displaying results.
I do require the data be tested for conditions – that is, I am only interested in a row in Worksheet 2 that has two specific columns that match two specific columns in a row in Worksheet 1. I want to view a certain cell of each of these rows where the condition has been proved.
I have overcome similar problems in the past using:
=INDEX(tbl, SMALL(IF(COUNTIFS($G$3, $B$3:$B$19, $G$4, $C$3:$C$19), ROW(tbl)-MIN(ROW(tbl))+1), ROW(A1)), COLUMN(A1)) + CTRL + SHIFT + ENTER.
However, this model requires greater flexibility in criteria. Essentially i require for each row in worksheet 2 to be scanned against worksheet 1 and, when the above criteria is satisfied, display a cell from that matching row.
Imagine that each of the below described tables are in different worksheets. This is only a snapshop of the worksheets.
Worksheet 1:
includes several columns; of interest is column 3 and 5, being 'Tenant' and 'Building'.
Worksheet 2:
includes several columns; of interest column 2 and 8, being 'Tenant' and 'Building'.
Worksheet 3:
Results.
Essentially, i want every row of worksheet 1 checked against worksheet 2 and where there are two rows that have identical tenant and building, i want certain data of worksheet 1 returned to worksheet 3.
This is required as i need data from one worksheet, however the other contains critical search data.
I also require an additional screening - that is, i do not require any data from worksheet 1 (even if both previous fields have been met) if the expiry is greater than six months away.
Can anyone propose some formulas that could retrieve what i need?
All help is greatly appreciated. It has many people at my firm stumped!
Bookmarks