A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Lookup help needed



 
 
Thread Tools Display Modes
  #1  
Old May 22nd, 2009, 04:44 AM posted to microsoft.public.excel.worksheet.functions
Guntars
external usenet poster
 
Posts: 19
Default Lookup help needed

For example I got this simple table:
___________one___two___three
Name 1______X___________X_
Name 2______X_____X_______
Name 3____________X_______
Name 4______X___________X_
Name 5______X_____X_______
Name 6__________________X_
Name 7______X_____________
Name 8______X_____X_____X_
Name 9____________X_______

How do I tell formula to return all the names from col A:A if the column
“three” has “X” in name row?
Thank you
Guntars

  #2  
Old May 22nd, 2009, 07:08 AM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default Lookup help needed

If you dont have duplicate names.. try the below

in E2
=INDEX(A1:A1000,MATCH("x",$D$1:$D$1000,0))

in E3 and subsequent rows
=INDEX($A$1:$A$1000,MATCH("x",INDIRECT("D"&MATCH(E 2,$A$1:$A$1000,0)+1 &
"1000"),0)+MATCH(E2,$A$1:$A$1000,0))

If this post helps click Yes
---------------
Jacob Skaria


"Guntars" wrote:

For example I got this simple table:
___________one___two___three
Name 1______X___________X_
Name 2______X_____X_______
Name 3____________X_______
Name 4______X___________X_
Name 5______X_____X_______
Name 6__________________X_
Name 7______X_____________
Name 8______X_____X_____X_
Name 9____________X_______

How do I tell formula to return all the names from col A:A if the column
“three” has “X” in name row?
Thank you
Guntars

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 OfficeFrustration.
The comments are property of their posters.