VLOOKUP and match functions appear to be searching the function rather than value
Posted
by
Brandon S.
on Super User
See other posts from Super User
or by Brandon S.
Published on 2012-04-11T01:07:59Z
Indexed on
2012/04/11
5:32 UTC
Read the original article
Hit count: 517
microsoft-excel
|vlookup
Vlookup and match seem to be searching based on the function I have in my cell rather than the value i have in the cell. I have a column with dates, (ex: C2, which has the formula =E2&"/"&F2&"/"&D2
in them, for example). (where E2, F2, D2 are the year, month, and date).
In another sheet and column, I have a bunch of dates, and i'm using the formula
=VLOOKUP(C2,'sheet2'!A1:B252,2,FALSE),
which doesn't work. (returns #N/A
)
If I replace C2
with the same date, but without the formula (just typing it in), VLOOKUP
works. Why is this?
© Super User or respective owner