Solved

lookup function in Excel

Posted on 2014-01-03
2
259 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now