?
Solved

VLOOKUP Function MS Excel 2010

Posted on 2016-11-27
2
Medium Priority
?
86 Views
Last Modified: 2018-02-15
I would like to create a formula in Sheet1, cell C2, that will use the VLOOKUP function to pull data from Sheet2 and append it to some standard text within the same formula.  The format of all the data should be vertical, each category on its own line within the same cell.  See sample file attached.

Communications: Mary Smith
Learning: John Jones
Procedures: None Requested

Is it possible to do this?

Thanks,
Test---VLOOKUP.xlsm
0
Comment
Question by:cowboywm
2 Comments
 
LVL 48

Accepted Solution

by:
Wayne Taylor (webtubbs) earned 2000 total points
ID: 41903465
You can use this formula as copy down as required.

="Communications: " & VLOOKUP(B2, Sheet2!B:AC, 26, FALSE) & CHAR(10) & "Learning: " & VLOOKUP(B2, Sheet2!B:AC, 27, FALSE) & CHAR(10) & "Procedures: " & VLOOKUP(B2, Sheet2!B:AC, 28, FALSE)

Open in new window


You will also need to enable Wrap Text on those cells for each item to display on a new line.
1
 

Author Closing Comment

by:cowboywm
ID: 41903643
Perfecto!  Did exactly what I needed it to do.  I knew there was a way but wasn't sure just how to build it.
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…

593 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