Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default HLookup function question

Hello,

Can you look up more than 4 columns of information in the
HLOOKUP function? For Example:
=HLOOKUP(PartNbr!$B$16,A16:H18,2) 7 columns

I tried and it doesn't work if more than 4 columns. Is
there another way to make this work? Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,089
Default HLookup function question

You only have three *rows* defined in the lookup range. The HLOOKUP
function will look for the search value in the top row of the range .... row
16 .... between the columns defined in the range ... A to H ... and return
the value from the specified row ... 2 ... which in this case would be row
17.

If your values are listed in a column, then maybe you should be using
VLOOKUP.

Regards

Trevor


"Cam" wrote in message
...
Hello,

Can you look up more than 4 columns of information in the
HLOOKUP function? For Example:
=HLOOKUP(PartNbr!$B$16,A16:H18,2) 7 columns

I tried and it doesn't work if more than 4 columns. Is
there another way to make this work? Thanks



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
Hlookup-row_index_num question Eden397 Excel Worksheet Functions 4 November 10th 07 06:01 PM
HLOOKUP question Chuck M Excel Worksheet Functions 6 September 28th 07 01:08 AM
VLOOKUP or HLOOKUP function question MMangen Excel Worksheet Functions 1 February 14th 07 07:13 PM
VLOOKUP / HLOOKUP Question Brett24 Excel Discussion (Misc queries) 3 January 9th 07 12:35 PM
VLOOKUP/HLOOKUP Question TheRobsterUK Excel Discussion (Misc queries) 11 May 25th 05 08:54 PM


All times are GMT +1. The time now is 06:08 AM.

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"