Solved

lookup function in Excel

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to read BOM (Byte Order Mark) from csv file. 4 37
DBF to ... Converter 5 43
Excel VBA When using VLookup 6 28
IF ELSE Statement in Excel Macro VBA 16 34
PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

895 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

12 Experts available now in Live!

Get 1:1 Help Now