Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm not sure if this is possible, but I supposed everything is with Excel.
I want to create a lookup formula using text for the row and column. I know i can use a vlookup or hlookup and use text as the first parameter, but you are required to put in a # for the column or row depending on the formula. Is there anyway I can lookup text on both the column and row to pull data. a b c 1 abc 2 xyz 50 3 What I want to do is, =VLOOKUP("xyz",A1:C3,"abc",FALSE) and it would return the 50. I use many sheets that will always have the same text, but the columns or rows may change and I don't want to have to spend more time making sure the formula is correct than the data is correct. Ken |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The general syntax would be:
=VLOOKUP("xyz",A1:C3,MATCH("abc",A1:C1,0),0) Better to use cells to hold the criteria: E1 = xyz F1 = abc =VLOOKUP(E1,A1:C3,MATCH(F1,A1:C1,0),0) -- Biff Microsoft Excel MVP "kensmith" wrote in message ... I'm not sure if this is possible, but I supposed everything is with Excel. I want to create a lookup formula using text for the row and column. I know i can use a vlookup or hlookup and use text as the first parameter, but you are required to put in a # for the column or row depending on the formula. Is there anyway I can lookup text on both the column and row to pull data. a b c 1 abc 2 xyz 50 3 What I want to do is, =VLOOKUP("xyz",A1:C3,"abc",FALSE) and it would return the 50. I use many sheets that will always have the same text, but the columns or rows may change and I don't want to have to spend more time making sure the formula is correct than the data is correct. Ken |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
That is freakin fantastic, thanks for the help Biff.
"T. Valko" wrote: The general syntax would be: =VLOOKUP("xyz",A1:C3,MATCH("abc",A1:C1,0),0) Better to use cells to hold the criteria: E1 = xyz F1 = abc =VLOOKUP(E1,A1:C3,MATCH(F1,A1:C1,0),0) -- Biff Microsoft Excel MVP "kensmith" wrote in message ... I'm not sure if this is possible, but I supposed everything is with Excel. I want to create a lookup formula using text for the row and column. I know i can use a vlookup or hlookup and use text as the first parameter, but you are required to put in a # for the column or row depending on the formula. Is there anyway I can lookup text on both the column and row to pull data. a b c 1 abc 2 xyz 50 3 What I want to do is, =VLOOKUP("xyz",A1:C3,"abc",FALSE) and it would return the 50. I use many sheets that will always have the same text, but the columns or rows may change and I don't want to have to spend more time making sure the formula is correct than the data is correct. Ken |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP "kensmith" wrote in message ... That is freakin fantastic, thanks for the help Biff. "T. Valko" wrote: The general syntax would be: =VLOOKUP("xyz",A1:C3,MATCH("abc",A1:C1,0),0) Better to use cells to hold the criteria: E1 = xyz F1 = abc =VLOOKUP(E1,A1:C3,MATCH(F1,A1:C1,0),0) -- Biff Microsoft Excel MVP "kensmith" wrote in message ... I'm not sure if this is possible, but I supposed everything is with Excel. I want to create a lookup formula using text for the row and column. I know i can use a vlookup or hlookup and use text as the first parameter, but you are required to put in a # for the column or row depending on the formula. Is there anyway I can lookup text on both the column and row to pull data. a b c 1 abc 2 xyz 50 3 What I want to do is, =VLOOKUP("xyz",A1:C3,"abc",FALSE) and it would return the 50. I use many sheets that will always have the same text, but the columns or rows may change and I don't want to have to spend more time making sure the formula is correct than the data is correct. Ken |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Text lookup | Excel Discussion (Misc queries) | |||
2 criteria lookup of text. Return text form column 3. SUMPRODUCT t | Excel Worksheet Functions | |||
Search, find or lookup defined text in text string | Excel Worksheet Functions | |||
LOOKUP text return text | Excel Worksheet Functions | |||
lookup a text cell and return text | Excel Discussion (Misc queries) |