Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Qaspec
 
Posts: n/a
Default Large Index Match Lookup

I need to return a value from another column based on another value I'm using
to filter the results. I can use index and match to do this.

=INDEX(D10:D100,MATCH("New",L10:L100,0))

This returns the value from column D that corresponds with the first
available instance of the word "New" in column L. I would also like to
return the 2nd value and 3rd value associated with the instance of the same
word. I've tried to insert LARGE in a couple of places but I can't seem to
get it to work (no giggling please this is serious business). Any help would
be appreciated.
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this formula entered as an array using the key combo of
CTRL,SHIFT,ENTER:

=IF(COUNTIF(L$10:L$100,"new")=ROWS($1:1),INDEX(D$ 10:D$100,SMALL(IF(L$10:L$100="new",ROW($1:$91)),RO W(1:1))),"")

Copy down until you get blanks.

Note: ROW($1:$91) refers to the SIZE of your range.

Biff

"Qaspec" wrote in message
...
I need to return a value from another column based on another value I'm
using
to filter the results. I can use index and match to do this.

=INDEX(D10:D100,MATCH("New",L10:L100,0))

This returns the value from column D that corresponds with the first
available instance of the word "New" in column L. I would also like to
return the 2nd value and 3rd value associated with the instance of the
same
word. I've tried to insert LARGE in a couple of places but I can't seem to
get it to work (no giggling please this is serious business). Any help
would
be appreciated.



  #3   Report Post  
RagDyer
 
Posts: n/a
Default

I like your error trap!
And it is a little shorter then trapping on the Small().<g
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"Biff" wrote in message
...
Hi!

Try this formula entered as an array using the key combo of
CTRL,SHIFT,ENTER:


=IF(COUNTIF(L$10:L$100,"new")=ROWS($1:1),INDEX(D$ 10:D$100,SMALL(IF(L$10:L$1
00="new",ROW($1:$91)),ROW(1:1))),"")

Copy down until you get blanks.

Note: ROW($1:$91) refers to the SIZE of your range.

Biff

"Qaspec" wrote in message
...
I need to return a value from another column based on another value I'm
using
to filter the results. I can use index and match to do this.

=INDEX(D10:D100,MATCH("New",L10:L100,0))

This returns the value from column D that corresponds with the first
available instance of the word "New" in column L. I would also like to
return the 2nd value and 3rd value associated with the instance of the
same
word. I've tried to insert LARGE in a couple of places but I can't seem

to
get it to work (no giggling please this is serious business). Any help
would
be appreciated.




  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

In M9 enter: 0

which is mandatory.

M10, copied down:

=IF((L10<"")*(L10="New"),LOOKUP(9.99999999999999E +307,$M$9:M9)+1,"")

N9:

=LOOKUP(9.99999999999999E+307,M9:M100)

N10, copied down:

=IF(ROW()-ROW($N$10)+1<=$N$9,LOOKUP(ROW()-ROW($N$10)+1,$M$10:$M$100,$D$10:$D$100),"")


If so desired, ROW()-ROW($N$10)+1 can be replace with ROWS($N$10:N10).


Qaspec wrote:
I need to return a value from another column based on another value I'm using
to filter the results. I can use index and match to do this.

=INDEX(D10:D100,MATCH("New",L10:L100,0))

This returns the value from column D that corresponds with the first
available instance of the word "New" in column L. I would also like to
return the 2nd value and 3rd value associated with the instance of the same
word. I've tried to insert LARGE in a couple of places but I can't seem to
get it to work (no giggling please this is serious business). Any help would
be appreciated.

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
lookup, index, match, offset, etc. [email protected] Excel Worksheet Functions 2 January 3rd 05 08:51 PM
Match, Index, Vlookup, Large....Help Please [email protected] Excel Worksheet Functions 3 December 15th 04 01:38 PM
Match, Index, Vlookup, Large....Help Please [email protected] Excel Worksheet Functions 0 December 14th 04 11:16 PM
Find a match that;s not exact Phyllis Excel Worksheet Functions 0 November 8th 04 08:12 PM
Vlookup, Index & Match Phyllis Excel Worksheet Functions 1 November 8th 04 06:11 PM


All times are GMT +1. The time now is 03:53 PM.

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"