Solved

Excel lookup value and return another value

Posted on 2015-01-24
10
109 Views
Last Modified: 2015-01-24
In Excel how can I look through a range of values in column A and if a match is found return that value in column B.  I attached a sample Excel file.
In the sample file I need to search column A and return when a match is found for
the value = Car in Column B.  Thanks for any help !
0
Comment
Question by:fjkaykr11
  • 5
  • 5
10 Comments
 
LVL 11

Expert Comment

by:Wilder1626
ID: 40568552
Here is an example in the attachment:
=VLOOKUP(F1,A:B,2,FALSE)

The formula is in G1

FYI, i did not see any temple from you.
vlookup.xlsx
0
 
LVL 3

Author Comment

by:fjkaykr11
ID: 40568553
at wilder1626 thanks for the reply, I am having trouble following the sample file you provided (sorry). Can you view the sample file I uploaded?  I was hoping someone could edit the sample I provided it might be easier for me to follow.
0
 
LVL 11

Expert Comment

by:Wilder1626
ID: 40568557
i don't see your file. Can you attach the file again please?
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 3

Author Comment

by:fjkaykr11
ID: 40568565
Here is the sample file.  I was hoping to be able to do this with just the one column of data, as in the sample. Thanks again.
Excel1.xls
0
 
LVL 11

Expert Comment

by:Wilder1626
ID: 40568567
Here you go.

I just dont understand why this VLookup is needed. Can you explain more?

But have a look at it first
Excel1.xls
0
 
LVL 3

Author Comment

by:fjkaykr11
ID: 40568570
Attached is an updated file of what I was hoping to get back in Column B.
Its just a sample file, I realize I can do this with a filter or sort. but I have a LONG list of items with much longer names. I want to get the basic idea and then build on it.
Excel1-updated.xls
0
 
LVL 11

Accepted Solution

by:
Wilder1626 earned 500 total points
ID: 40568573
here you go

=IF(A1="Car","Car",0)
Excel1-updated2.xls
0
 
LVL 3

Author Comment

by:fjkaykr11
ID: 40568585
Thanks! I had tried this already but forgot the quotes.
0
 
LVL 3

Author Closing Comment

by:fjkaykr11
ID: 40568587
thanks a lot
0
 
LVL 11

Expert Comment

by:Wilder1626
ID: 40568590
i'm glad i was able to help
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

776 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