Thanks:  0
Likes:  0

# Thread: lookup in a lookup

1. Cell A2 is as follows:
=IF(ISNA(VLOOKUP(I9,Activities!\$AC\$2:\$BR\$9,2,FALSE))=TRUE,"",VLOOKUP(I9,Activities!\$AC\$2:\$BR\$9,2,FALSE))

Is there any lookup function I can use to replace the \$AC\$2:\$BR\$9 cell range so that the cell range is the cell containing the same value entered in A1 found in a sequential range of horizontal values? BR9 will always be the final cell in the range and the result will always be the value in the 2nd column. The AC2 will vary with the value in cell A1.

Thanks.

2. On 2002-03-05 10:17, Anonymous wrote:
Cell A2 is as follows:
=IF(ISNA(VLOOKUP(I9,Activities!\$AC\$2:\$BR\$9,2,FALSE))=TRUE,"",VLOOKUP(I9,Activities!\$AC\$2:\$BR\$9,2,FALSE))

Is there any lookup function I can use to replace the \$AC\$2:\$BR\$9 cell range so that the cell range is the cell containing the same value entered in A1 found in a sequential range of horizontal values? BR9 will always be the final cell in the range and the result will always be the value in the 2nd column. The AC2 will vary with the value in cell A1.

Thanks.
see if
=IF(COUNTIF(INDIRECT("activities!"&A1&":"&LEFT(A1,1+LEN(A1)>2)&"9"),I9),VLOOKUP(I9,INDIRECT("activities!"&A1&":BR9"),2,0),"")

will work for you.

good luck

edited version #1
=IF(COUNTIF(INDIRECT("activities!"&A1&":"&LEFT(A1,1+(LEN(A1)>2))&"9"),I9),VLOOKUP(I9,INDIRECT("activities!"&A1&":BR9"),2,0),"")

[ This Message was edited by: IML on 2002-03-05 10:38 ]

## User Tag List

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•