Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
when using VLookup, how can I search not the entire cell but parts of the
cell, that is if I want to search 4 or 5 deep. If I'm comparing, for example: A = 123456789 B = 1234d56789 VLOOKUP(A,B,1,???) - whereas ???=FALSE to find an exact match I would want something to search B up to 4 or 5 characters compared to A. Does this make sense? Thanks for the help, -m |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You could try the left(), mid() and right functions to extract the data to
what you want? Not sure if this will work in a VLOOKUP as I've never tried it, but you could create a cell at the end of you range which holds the data you're searching through. Hope this helps. "mvyvoda" wrote: when using VLookup, how can I search not the entire cell but parts of the cell, that is if I want to search 4 or 5 deep. If I'm comparing, for example: A = 123456789 B = 1234d56789 VLOOKUP(A,B,1,???) - whereas ???=FALSE to find an exact match I would want something to search B up to 4 or 5 characters compared to A. Does this make sense? Thanks for the help, -m |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
oh yeah.... that works.
Thanks, -m "DaveO" wrote: You could try the left(), mid() and right functions to extract the data to what you want? Not sure if this will work in a VLOOKUP as I've never tried it, but you could create a cell at the end of you range which holds the data you're searching through. Hope this helps. "mvyvoda" wrote: when using VLookup, how can I search not the entire cell but parts of the cell, that is if I want to search 4 or 5 deep. If I'm comparing, for example: A = 123456789 B = 1234d56789 VLOOKUP(A,B,1,???) - whereas ???=FALSE to find an exact match I would want something to search B up to 4 or 5 characters compared to A. Does this make sense? Thanks for the help, -m |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Glad it helped.
"mvyvoda" wrote: oh yeah.... that works. Thanks, -m "DaveO" wrote: You could try the left(), mid() and right functions to extract the data to what you want? Not sure if this will work in a VLOOKUP as I've never tried it, but you could create a cell at the end of you range which holds the data you're searching through. Hope this helps. "mvyvoda" wrote: when using VLookup, how can I search not the entire cell but parts of the cell, that is if I want to search 4 or 5 deep. If I'm comparing, for example: A = 123456789 B = 1234d56789 VLOOKUP(A,B,1,???) - whereas ???=FALSE to find an exact match I would want something to search B up to 4 or 5 characters compared to A. Does this make sense? Thanks for the help, -m |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Vlookup question | Excel Worksheet Functions | |||
Vlookup question | Excel Worksheet Functions | |||
Vlookup question | Excel Worksheet Functions | |||
vlookup question | Excel Worksheet Functions | |||
VLOOKUP question | Excel Worksheet Functions |