Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 132
Default Why hlookup error when I insert table array formula?

I wanted to hlookup like this which gives me #VALUE!
=HLOOKUP(D5,"'RM LIST'!"&ADDRESS(ROW('RM LIST'!I15:I500),MATCH(BATCH!D5,'RM
LIST'!15:15,0),4)&":"&ADDRESS(ROW('RM LIST'!I500:I500),MATCH(BATCH!D5,'RM
LIST'!15:15,0),4),3,FALSE)
But if the in this formula is working.
=HLOOKUP(D5,'RM LIST'!I15:I500,3,FALSE)
Actuallly the table array "'RM LIST'!I15:I500" I replaced with my substitute
"'RM LIST'!"&ADDRESS(ROW('RM LIST'!I15:I500),MATCH(BATCH!D5,'RM
LIST'!15:15,0),4)&":"&ADDRESS(ROW('RM LIST'!I500:I500),MATCH(BATCH!D5,'RM
LIST'!15:15,0),4) . I tested this part by comparing "'RM LIST'!I15:I500"=
substitute formula which returns TRUE. But cant get the result when I insert
it in hlookup!! why?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Why hlookup error when I insert table array formula?

Think you need to use INDIRECT for the "derived" table array,
indicatively:
=HLOOKUP(D5,INDIRECT("derived_tablearray"),3,FALSE )
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Narnimar" wrote:
I wanted to hlookup like this which gives me #VALUE!
=HLOOKUP(D5,"'RM LIST'!"&ADDRESS(ROW('RM LIST'!I15:I500),MATCH(BATCH!D5,'RM
LIST'!15:15,0),4)&":"&ADDRESS(ROW('RM LIST'!I500:I500),MATCH(BATCH!D5,'RM
LIST'!15:15,0),4),3,FALSE)
But if the in this formula is working.
=HLOOKUP(D5,'RM LIST'!I15:I500,3,FALSE)
Actuallly the table array "'RM LIST'!I15:I500" I replaced with my substitute
"'RM LIST'!"&ADDRESS(ROW('RM LIST'!I15:I500),MATCH(BATCH!D5,'RM
LIST'!15:15,0),4)&":"&ADDRESS(ROW('RM LIST'!I500:I500),MATCH(BATCH!D5,'RM
LIST'!15:15,0),4) . I tested this part by comparing "'RM LIST'!I15:I500"=
substitute formula which returns TRUE. But cant get the result when I insert
it in hlookup!! why?

  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Why hlookup error when I insert table array formula?

What was meant earlier was to try it like this (untested):
=HLOOKUP(D5,INDIRECT("'RM LIST'!"&ADDRESS(ROW('RM
LIST'!I15:I500),MATCH(BATCH!D5,'RM LIST'!15:15,0),4)&":"&ADDRESS(ROW('RM
LIST'!I500:I500),MATCH(BATCH!D5,'RM LIST'!15:15,0),4)),3,FALSE)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---

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
Array Formula Error CecesWorking Excel Worksheet Functions 1 January 26th 09 08:48 PM
Array Formula Error CecesWorking Excel Worksheet Functions 5 January 26th 09 08:43 PM
HLOOKUP Formula Error albert Excel Worksheet Functions 1 March 10th 08 04:04 PM
array formula with if and hlookup bport jim Excel Worksheet Functions 5 January 8th 07 03:26 AM
Is there any way to use HLOOKUP in an array formula to return multiple matches? [email protected] Excel Worksheet Functions 9 August 31st 06 03:55 AM


All times are GMT +1. The time now is 09:43 PM.

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"