Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I'm trying figure out a way to use a vlookup function when the word in the table is the same but indented differently. For instance, you're looking for the price of an 'apple' but the word 'apple' in the table is actually written ' apple' with 4 spaces in front of the word. I was trying to use the 'Right' function but the number of letters my vary. Thanks for your inputs. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This might suffice, where we append 4 spaces in front of the lookup value in
A1 to make it consistent with the table array's lookup col : In say, B1: =VLOOKUP(" "&TRIM(A1),E:F,2,0) Adapt to suit .. -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "HK" wrote in message ... Hi, I'm trying figure out a way to use a vlookup function when the word in the table is the same but indented differently. For instance, you're looking for the price of an 'apple' but the word 'apple' in the table is actually written ' apple' with 4 spaces in front of the word. I was trying to use the 'Right' function but the number of letters my vary. Thanks for your inputs. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
looking for the *price* of an 'apple'
If the return value is numeric: D1 = apple =SUMIF(A1:A10,"*"&D1,B1:B10) Biff "HK" wrote in message ... Hi, I'm trying figure out a way to use a vlookup function when the word in the table is the same but indented differently. For instance, you're looking for the price of an 'apple' but the word 'apple' in the table is actually written ' apple' with 4 spaces in front of the word. I was trying to use the 'Right' function but the number of letters my vary. Thanks for your inputs. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks for your input, guys.
"Biff" wrote: looking for the *price* of an 'apple' If the return value is numeric: D1 = apple =SUMIF(A1:A10,"*"&D1,B1:B10) Biff "HK" wrote in message ... Hi, I'm trying figure out a way to use a vlookup function when the word in the table is the same but indented differently. For instance, you're looking for the price of an 'apple' but the word 'apple' in the table is actually written ' apple' with 4 spaces in front of the word. I was trying to use the 'Right' function but the number of letters my vary. Thanks for your inputs. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VLookup a Vlookup | Excel Worksheet Functions | |||
VLOOKUP Problem | Excel Discussion (Misc queries) | |||
VLOOKUP Limitations | Excel Worksheet Functions | |||
vlookup data hidden within worksheet | Excel Worksheet Functions | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |