Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Joe Blow
 
Posts: n/a
Default Indexing an Array with VLOOKUP


Hi,

I have an array with multiple occurrences of my lookup value that I
would like to summarize in another table.

Is there a way to index to the next occurrence of the lookup value
once vlookup has found the first occurrence?

Appreciate any help,
Joe
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

One way:

=INDEX(B1:B10,SMALL(IF(A1:A10="X",ROW(B1:B10)),N))

Array-entered (press ctrl + shift + enter), whe

B1:B10 = range that contains value to return
A1:A10 = range to search for lookupvalue
X = lookup value
N = positive integer representing nth occurence (e.g., 2
= 2nd occurence, if there is one)

HTH
Jason
Atlanta, GA

-----Original Message-----

Hi,

I have an array with multiple occurrences of my lookup

value that I
would like to summarize in another table.

Is there a way to index to the next occurrence of the

lookup value
once vlookup has found the first occurrence?

Appreciate any help,
Joe
.

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
How do I find a value in an array (VLOOKUP? HLOOKUP?) M Skabialka New Users to Excel 2 March 11th 05 02:52 AM
Table Array in VLOOKUP Relies on Data Validation willydlish Excel Worksheet Functions 2 February 16th 05 03:20 AM
How to use a cell value as Table Array in VLOOKUP worksheet function willydlish Excel Discussion (Misc queries) 2 February 16th 05 02:47 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Vlookup and Indexing in excel CLSCHWIES Excel Worksheet Functions 2 December 4th 04 01:57 AM


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