Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 44
Default Lookup Formula question

I have a table with Row Headings (Names) down the left side, and column
headings across the top.

I want to do a lookup on the name (like a VLOOKUP), but then I want to
search across the row where I found the name and look for a specific value,
and then return the column name.

How would I do that?

Thanks,
Steve
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Lookup Formula question

Suppose your data range in Columnn A:J...The below formula will lookup for
'Steve' in ColA and search for a value of 5 i that row and return the header
of that column...from row 1

=INDEX(A1:J1,MATCH(5,OFFSET(A1:J1,MATCH("Steve",A: A,0)-1,0)))

If this post helps click Yes
---------------
Jacob Skaria


"Steve Haack" wrote:

I have a table with Row Headings (Names) down the left side, and column
headings across the top.

I want to do a lookup on the name (like a VLOOKUP), but then I want to
search across the row where I found the name and look for a specific value,
and then return the column name.

How would I do that?

Thanks,
Steve

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Lookup Formula question

Try this...

B1:F1 = column headers
A2:A10 = row headers = names

A15 = lookup name
B15 = lookup_value

=INDEX(B1:F1,MATCH(B15,INDEX(B2:F10,MATCH(A15,A2:A 10,0),0),0))

--
Biff
Microsoft Excel MVP


"Steve Haack" wrote in message
...
I have a table with Row Headings (Names) down the left side, and column
headings across the top.

I want to do a lookup on the name (like a VLOOKUP), but then I want to
search across the row where I found the name and look for a specific
value,
and then return the column name.

How would I do that?

Thanks,
Steve



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Lookup Formula question

Steve Haack wrote:
I have a table with Row Headings (Names) down the left side, and column
headings across the top.

I want to do a lookup on the name (like a VLOOKUP), but then I want to
search across the row where I found the name and look for a specific value,
and then return the column name.

How would I do that?

Thanks,
Steve



http://www.contextures.com/xlFunctio...ml#IndexMatch2
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Lookup Formula question

Glenn wrote:
Steve Haack wrote:
I have a table with Row Headings (Names) down the left side, and
column headings across the top.

I want to do a lookup on the name (like a VLOOKUP), but then I want to
search across the row where I found the name and look for a specific
value, and then return the column name.

How would I do that?

Thanks,
Steve



http://www.contextures.com/xlFunctio...ml#IndexMatch2



Sorry, didn't completely comprehend the question. However, the resource is
still useful!
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
Lookup Formula Question JWNJ Excel Worksheet Functions 1 July 29th 08 02:21 AM
Lookup formula question PeterG Excel Discussion (Misc queries) 3 July 13th 05 02:26 PM
Formula Question... LookUP G Excel Discussion (Misc queries) 4 March 7th 05 01:38 AM
Formula Question IF/Lookup???? Hague2 Excel Worksheet Functions 2 January 7th 05 06:30 PM
Lookup/Index formula question. Barbara Excel Worksheet Functions 2 December 7th 04 04:45 PM


All times are GMT +1. The time now is 12:46 AM.

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

About Us

"It's about Microsoft Excel"