Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How to look up a value in a list and return multiple corresponding

I can make the formula look up anumber but i need it to look for a specific
word. What can i replace "SMALL" with to have the formula bring all intances
of the word "Active" =SMALL(IF($A$1:$A$7=$A$10,ROW($A$1:$A$7)),ROW(1:1) )
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default How to look up a value in a list and return multiple corresponding

Copy the formula downward. This will cause the final arguement, ROW(1:1) to
change, causing the formula to pull the 1st isntance, then 2nd, then 3rd,
etc...
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"worksheet functions" wrote:

I can make the formula look up anumber but i need it to look for a specific
word. What can i replace "SMALL" with to have the formula bring all intances
of the word "Active" =SMALL(IF($A$1:$A$7=$A$10,ROW($A$1:$A$7)),ROW(1:1) )

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default How to look up a value in a list and return multiple corresponding

sample before/after

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"worksheet functions" <worksheet
wrote
in message ...
I can make the formula look up anumber but i need it to look for a specific
word. What can i replace "SMALL" with to have the formula bring all
intances
of the word "Active" =SMALL(IF($A$1:$A$7=$A$10,ROW($A$1:$A$7)),ROW(1:1) )


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default How to look up a value in a list and return multiple corresponding

Array enter, using Ctrl-Shift-Enter

=IF(COUNTIF($A$1:$A$7,$A$10)=ROWS($A$1:A1),INDEX( A$1:A$7,LARGE(($A$1:$A$7=$A$10)*ROW($A$1:$A$7),COU NTIF($A$1:$A$7,$A$10)-(ROWS($C$12:C12)-1))),"")

with Active in cell A10. Change $C$12:C12 to reflect the cell where you are entering this: D4 would
be $D$4:D4

Then copy down and over...


HTH,
Bernie
MS Excel MVP


"worksheet functions" <worksheet wrote in message
...
I can make the formula look up anumber but i need it to look for a specific
word. What can i replace "SMALL" with to have the formula bring all intances
of the word "Active" =SMALL(IF($A$1:$A$7=$A$10,ROW($A$1:$A$7)),ROW(1:1) )



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
return multiple values in a list? jiwolf Excel Worksheet Functions 4 December 22nd 06 06:14 PM
How to look up a value in a list and return multiple corresponding Utsav Excel Discussion (Misc queries) 1 June 7th 06 05:11 AM
How to look up a value in list & return multiple answers Jerry Excel Discussion (Misc queries) 0 February 22nd 06 08:13 PM
How to look up a value in a list and return multiple corresponding Jerry Excel Discussion (Misc queries) 4 February 15th 06 07:25 PM
How to look up a value in list & return multiple corresponding val Jerry Excel Discussion (Misc queries) 3 February 14th 06 11:22 PM


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

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"