Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Lookup row and columbn using text for both

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



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Lookup row and columbn using text for both

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Lookup row and columbn using text for both

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Lookup row and columbn using text for both

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Text lookup Scott A[_2_] Excel Discussion (Misc queries) 2 September 28th 08 10:02 PM
2 criteria lookup of text. Return text form column 3. SUMPRODUCT t zzxxcc Excel Worksheet Functions 2 August 26th 08 11:04 PM
Search, find or lookup defined text in text string zzxxcc Excel Worksheet Functions 9 September 6th 07 09:37 PM
LOOKUP text return text [email protected] Excel Worksheet Functions 5 May 22nd 07 06:38 PM
lookup a text cell and return text Cristi R Excel Discussion (Misc queries) 4 August 2nd 06 02:41 PM


All times are GMT +1. The time now is 06:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"