Why not have a column that concatenates ACC and UNQ#, like:-
AAA-1000
AAA-1002
Then when AAA was typed in you would get the two options, then you can use SPLIT to get the UNQ# to do the second vlookup.
I had this same issue. I did a workaround which seems to work fine for me.
Instead of using something like
=vlookup(A2,BOM!A:B, 2,0)
I just added a +0 at the end as my lookup was returning an integer.
So when I put
=vlookup(A2,BOM!A:B, 2,0)+0
it works fine for me and my vlookup is now editable.
Also, if you already have a vlookup you may need to delete it and then reenter it.
Best Answer
VLOOKUP
is able to look for something only if that something is in the first column of the lookup. In your case isbbb
in the second column of the rangeA1:B4
you looking for. Fix is:sheet2
=VLOOKUP(A1; sheet2!B1:B; 1; 0)
=VLOOKUP(A1; {sheet2!B1:B\sheet2!A1:B}; 1; 0)