Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
vlookup lookup_value text
I have a very simple vlookup function that I am using to pull data from
another worksheet. The problem I'm having is that the text I'm referencing as the lookup_value contains a quotation mark ... 18" Bead Diameter. So, if I key it in as "18" Bead Diameter" of course it gives me an error. The correction Excel suggests is "18""BeadDiameter" which is not correct. Can't figure out how many quotation marks I need and where to put them to make this work. Thanks in advance!! |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
vlookup lookup_value text
18" Bead Diameter
Excel suggests is "18""BeadDiameter" Excel's suggestion has removed the spaces. That will work, just add the spaces: =VLOOKUP("18"" Bead Diameter",F1:G10,2,0) Better yet, use a cell to hold the lookup value: A1 = 18" Bead Diameter Then: =VLOOKUP(A1,F1:G10,2,0) -- Biff Microsoft Excel MVP "natk" wrote in message ... I have a very simple vlookup function that I am using to pull data from another worksheet. The problem I'm having is that the text I'm referencing as the lookup_value contains a quotation mark ... 18" Bead Diameter. So, if I key it in as "18" Bead Diameter" of course it gives me an error. The correction Excel suggests is "18""BeadDiameter" which is not correct. Can't figure out how many quotation marks I need and where to put them to make this work. Thanks in advance!! |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
vlookup lookup_value text
Ok... got it. I knew it was taking out spaces, but wasn't sure how to
account for the spaces that did belong. How about this one? 43" - 45" ... I know it would be better to just reference a cell containing this, but I can't alter the structure of the worksheet b/c someone else's sheets are fed from it and I don't want to cause them grief in having to change their format/formulas. : p Thanks!! "T. Valko" wrote: 18" Bead Diameter Excel suggests is "18""BeadDiameter" Excel's suggestion has removed the spaces. That will work, just add the spaces: =VLOOKUP("18"" Bead Diameter",F1:G10,2,0) Better yet, use a cell to hold the lookup value: A1 = 18" Bead Diameter Then: =VLOOKUP(A1,F1:G10,2,0) -- Biff Microsoft Excel MVP "natk" wrote in message ... I have a very simple vlookup function that I am using to pull data from another worksheet. The problem I'm having is that the text I'm referencing as the lookup_value contains a quotation mark ... 18" Bead Diameter. So, if I key it in as "18" Bead Diameter" of course it gives me an error. The correction Excel suggests is "18""BeadDiameter" which is not correct. Can't figure out how many quotation marks I need and where to put them to make this work. Thanks in advance!! |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
vlookup lookup_value text
How about this one? 43" - 45" ...
=VLOOKUP("43"" - 45""",F1:G10,2,0) -- Biff Microsoft Excel MVP "natk" wrote in message ... Ok... got it. I knew it was taking out spaces, but wasn't sure how to account for the spaces that did belong. How about this one? 43" - 45" ... I know it would be better to just reference a cell containing this, but I can't alter the structure of the worksheet b/c someone else's sheets are fed from it and I don't want to cause them grief in having to change their format/formulas. : p Thanks!! "T. Valko" wrote: 18" Bead Diameter Excel suggests is "18""BeadDiameter" Excel's suggestion has removed the spaces. That will work, just add the spaces: =VLOOKUP("18"" Bead Diameter",F1:G10,2,0) Better yet, use a cell to hold the lookup value: A1 = 18" Bead Diameter Then: =VLOOKUP(A1,F1:G10,2,0) -- Biff Microsoft Excel MVP "natk" wrote in message ... I have a very simple vlookup function that I am using to pull data from another worksheet. The problem I'm having is that the text I'm referencing as the lookup_value contains a quotation mark ... 18" Bead Diameter. So, if I key it in as "18" Bead Diameter" of course it gives me an error. The correction Excel suggests is "18""BeadDiameter" which is not correct. Can't figure out how many quotation marks I need and where to put them to make this work. Thanks in advance!! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Vlookup Question..if text lookup_value do not match with table_arr | Excel Discussion (Misc queries) | |||
vlookup lookup_value | Excel Worksheet Functions | |||
Vlookup(lookup_value) | Excel Worksheet Functions | |||
vlookup:same lookup_value, different returns | Excel Worksheet Functions | |||
VLOOKUP - dealing with lookup_value differences | Excel Worksheet Functions |