Solved

# VLOOKUP Function MS Excel 2010

Posted on 2016-11-27
20 Views
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
Question by:cowboywm

LVL 47

Accepted Solution

Wayne Taylor (webtubbs) earned 500 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)
``````

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

Author Closing Comment

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

A2 = A1 That kind of cell reference is relative.  If you copy it from A2 to B2, then B2 will get this: B2 = B1 That's all fine and good, but if you then insert a new row above row 2, you'll find: A3 = A1 B3 = B1 This is intentional. …
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…