Please see the file
I want to start from sheet1. In sheet1 I have a date. I want to lookup that date in sheet 2. This will return me multiple rows. But I want to select that row for which P is UI. Please note that I do not have P column in sheet1 as I have in sheet2. I just know the code in sheet1.
and a sample file for this question! You shouldn't post duplicated questions!
jppinto
jppinto
If you feel that the previous question is already answered and you want to make a new question based on that, you should first close the previous question and only then make a new one.
If you feel that the first question is not answered yet, you should wait until you get a proper answer before opening a new question that is basically the same as the first!
The ISNA() function checks if the LOOKUP() function returns a #N/A error value. So this formula will check if the LOOKUP() function returns #N/A. If it does, the cell will be empty. If it doesn't it will show the result of the LOOKUP function.
=LOOKUP(2,1/(Sheet2!$A$3:$
and drag that formula across to C3
regards, barry