Reputation: 1247
I have the following excel:
I wish to generate the list to the right based on the table to the left. I am looking for non-empty values in column A
and generating a list of the corresponding values in column B
.
I have tried the following:
=VLOOKUP(TRUE,NOT(ISBLANK(A1:A6)),B1:B6,TRUE)
and getting #REF!
. I can't understand why.
Is that a good method? How can I do this?
Upvotes: 0
Views: 225
Reputation: 19747
In Excel 365 you can use the FILTER
function:
=FILTER(B1:B6,A1:A6<>"")
Upvotes: 2