Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Need a AHLookup function

Using Excel 2003 SP2:

I have a table of which the reference row at the top of the table is
unsorted. For various reasons, sorting is not a practical solution. HLookup
does not function properly if the contents of the reference row are out of
order. If the table were inverted with the unsorted names in the left
column, I could use the AVLookup function; but Excel does not seem to have a
corresponding AHLookup function. Is there another function which would
accomplish the same thing as an AHLookup function?

Otherwise, the best workaround I can come up with is to create a second
table with formulae referencing the first, transpose it, and then reference
to this second table using the AVLookup function. This is not an ideal
solution because if the first table is expanded, then the second has to be
adjusted as well.

Any thoughts or suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 195
Default Need a AHLookup function

You can use

suppose you have reference row from A1 to C1 and below is the data and
you need to lookup and find the value at A2 so the array entered
formula will be

=INDEX(A2:C2,MATCH(A1,A1:C1,0))

I hope this will work for you.

thanks

Shail

TRRed1 wrote:
Using Excel 2003 SP2:

I have a table of which the reference row at the top of the table is
unsorted. For various reasons, sorting is not a practical solution. HLookup
does not function properly if the contents of the reference row are out of
order. If the table were inverted with the unsorted names in the left
column, I could use the AVLookup function; but Excel does not seem to have a
corresponding AHLookup function. Is there another function which would
accomplish the same thing as an AHLookup function?

Otherwise, the best workaround I can come up with is to create a second
table with formulae referencing the first, transpose it, and then reference
to this second table using the AVLookup function. This is not an ideal
solution because if the first table is expanded, then the second has to be
adjusted as well.

Any thoughts or suggestions?


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
Need some comments on my Utility_Move class module. jchen Excel Worksheet Functions 0 August 21st 06 07:05 PM
Creating a Custom Excel Function to Calculate Gini Coefficients [email protected] Excel Worksheet Functions 3 February 21st 06 10:15 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 06:53 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"