G
Guest
Hi,
This is the first time I'm using these formulas and can't seem to get it
right.
I have two tables. Table A and Table B.
The one thing they have in common is a date and a file name (in different
columns.)
I concatenated the date and file name columns, making it all uppercase. I
need to take a date & file combo 1 in col C1 (e.g. 12/08/2004 HAPPY.DLL) from
Table A and find it in col H:H Table B (e.g. 12/08/2004 HAPPY.DLL) and return
the corresponding value from col J:J (e.g. 1066) Table B. So if it’s found in
H27 it returns the value in J27.
However. When I use Lookup, it sometimes returns data because it does the
whole "search for the closest value" thing. If I use VLookup, I get a whole
bunch of #REF values, even though I know that the dates exist in both tables.
Another problem I encountered was with the dates. When I concatenated the
date and file name, the date changed to the “Excel 10245 format). I used the
DAY(), MONTH(), & YEAR() functions to sort that out.
Some of the formulas I've been using are:
=LOOKUP(C1,H:H,J:J)
=VLOOKUP(C122,H1:H103,J1:J103,FALSE) - this returns either N/A or #REF
Basically, I need it to return a corresponding value, if, and only if the
same date is found.
Any help would really be appreciated.
Thanks.
This is the first time I'm using these formulas and can't seem to get it
right.
I have two tables. Table A and Table B.
The one thing they have in common is a date and a file name (in different
columns.)
I concatenated the date and file name columns, making it all uppercase. I
need to take a date & file combo 1 in col C1 (e.g. 12/08/2004 HAPPY.DLL) from
Table A and find it in col H:H Table B (e.g. 12/08/2004 HAPPY.DLL) and return
the corresponding value from col J:J (e.g. 1066) Table B. So if it’s found in
H27 it returns the value in J27.
However. When I use Lookup, it sometimes returns data because it does the
whole "search for the closest value" thing. If I use VLookup, I get a whole
bunch of #REF values, even though I know that the dates exist in both tables.
Another problem I encountered was with the dates. When I concatenated the
date and file name, the date changed to the “Excel 10245 format). I used the
DAY(), MONTH(), & YEAR() functions to sort that out.
Some of the formulas I've been using are:
=LOOKUP(C1,H:H,J:J)
=VLOOKUP(C122,H1:H103,J1:J103,FALSE) - this returns either N/A or #REF
Basically, I need it to return a corresponding value, if, and only if the
same date is found.
Any help would really be appreciated.
Thanks.