Solved

Excel lookup value and return another value

Posted on 2015-01-24
10
111 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

861 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