Solved

lookup function in Excel

Posted on 2014-01-03
2
297 Views
Last Modified: 2014-01-03
I need find the word in A Column if B Column is equal to "TRUE".  

=Lookup("TRUE", B1:B3, A1:A3) is not working.  I expect to get "Higher Third".   Help is needed.


        A                             B
1 Higher Third      TRUE
2 Middle Third      FALSE
3 Lower Third      FALSE
0
Comment
Question by:jjxia2001
2 Comments
 
LVL 23

Accepted Solution

by:
NBVC earned 200 total points
ID: 39754808
LOOKUP needs column B to be listed in alphabetic ascending order for that to work....

Try:

=INDEX(A1:A3,MATCH(TRUE,B1:B3,0))

or

=INDEX(A1:A3,MATCH("TRUE",B1:B3,0))

depending on how TRUE is entered in the cells.
0
 

Author Closing Comment

by:jjxia2001
ID: 39754826
Works and thanks!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question