#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Please help!

I am trying to find help for a formula if possible. I have 2 columns (A, B)
and several rows beneath. Column A is all names. In column B there will be
an "X" next to one name. How can I create a formula to give me the name from
column A when there is an X in column B? Hope that made sense! Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Please help!

Jen,

=INDEX(A:A,MATCH("X",B:B,FALSE))

HTH,
Bernie
MS Excel MVP


"Jen1170" wrote in message
...
I am trying to find help for a formula if possible. I have 2 columns (A, B)
and several rows beneath. Column A is all names. In column B there will be
an "X" next to one name. How can I create a formula to give me the name from
column A when there is an X in column B? Hope that made sense! Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default Please help!

Try one of these:

=LOOKUP("X",B2:B10,A2:A10)
or
=IF(COUNTIF(B2:B10,"X"),LOOKUP("X",B2:B10,A2:A10), "")

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Jen1170" wrote:

I am trying to find help for a formula if possible. I have 2 columns (A, B)
and several rows beneath. Column A is all names. In column B there will be
an "X" next to one name. How can I create a formula to give me the name from
column A when there is an X in column B? Hope that made sense! Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Please help!

In C2: =IF(B2="x",A2,"")
Copy down


"Jen1170" wrote:

I am trying to find help for a formula if possible. I have 2 columns (A, B)
and several rows beneath. Column A is all names. In column B there will be
an "X" next to one name. How can I create a formula to give me the name from
column A when there is an X in column B? Hope that made sense! Thanks.

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



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