ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Lookup formulas: Must manuly type in look up value over downloaded value (https://www.excelbanter.com/excel-discussion-misc-queries/56891-lookup-formulas-must-manuly-type-look-up-value-over-downloaded-value.html)

Charleswdowd

Lookup formulas: Must manuly type in look up value over downloaded value
 

I work with alphannumeric codes that I often need to lookup up with v
and H lookups. However, many times I will get an error. When I do get
an error it is corrected when I re-type the same code manualy in the
cell being looked up. I also get this error with numeric codes but
usuly the "Value" function nested with the lookup function makes
everything work. Is there a way to acomplish the same thing but with
text codes.


--
Charleswdowd
------------------------------------------------------------------------
Charleswdowd's Profile: http://www.excelforum.com/member.php...o&userid=29017
View this thread: http://www.excelforum.com/showthread...hreadid=487493


bpeltzer

Lookup formulas: Must manuly type in look up value over downloaded
 
I'm not entirely clear on the circumstances causing the current issue: what
value you are you looking up, and what's the apparent equivalent in your
table. In my experience, I've often used the VALUE function as you suggest
inside the lookup to force text data to match up against a table of numbers.
To get numeric data to match against a table of strings I typically use the
TRIM function, just as you're using value now. BTW, trim also addresses a
fairly common issue of trailing spaces.
HTH. If not, please do indicate the current issue and a detailed example.

"Charleswdowd" wrote:


I work with alphannumeric codes that I often need to lookup up with v
and H lookups. However, many times I will get an error. When I do get
an error it is corrected when I re-type the same code manualy in the
cell being looked up. I also get this error with numeric codes but
usuly the "Value" function nested with the lookup function makes
everything work. Is there a way to acomplish the same thing but with
text codes.


--
Charleswdowd
------------------------------------------------------------------------
Charleswdowd's Profile: http://www.excelforum.com/member.php...o&userid=29017
View this thread: http://www.excelforum.com/showthread...hreadid=487493



Bryan Hessey

Lookup formulas: Must manuly type in look up value over downloaded value
 

If the lookup failed because of a trailing space (=Len(A1) would show
that) then =Trim(A1) might help.


Charleswdowd Wrote:
I work with alphannumeric codes that I often need to lookup up with v
and H lookups. However, many times I will get an error. When I do get
an error it is corrected when I re-type the same code manualy in the
cell being looked up. I also get this error with numeric codes but
usuly the "Value" function nested with the lookup function makes
everything work. Is there a way to acomplish the same thing but with
text codes.



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=487493


Charleswdowd

Lookup formulas: Must manuly type in look up value over downloaded value
 

Thank you Brian.


--
Charleswdowd
------------------------------------------------------------------------
Charleswdowd's Profile: http://www.excelforum.com/member.php...o&userid=29017
View this thread: http://www.excelforum.com/showthread...hreadid=487493


Bryan Hessey

Lookup formulas: Must manuly type in look up value over downloaded value
 

Good to see, and thanks for the response.

Charleswdowd Wrote:
Thank you Bryan.



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=487493



All times are GMT +1. The time now is 10:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com