ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Taking contents of a cell an inserting them into a phrase. (https://www.excelbanter.com/excel-discussion-misc-queries/122448-taking-contents-cell-inserting-them-into-phrase.html)

dnguyen411

Taking contents of a cell an inserting them into a phrase.
 
I'm creating a lookup table in Excel that list certain pieces of text I want
to add in a phrase. For example, let's say in Cells A1 - C1 I had "Mary",
"lamb", "snow."

In Cell D1, I want to write a phrase that will grab the contents of Cells A1
- C1 to form a sentance. In this example: "A1" had a little "B1", whose
fleece was white as "C1"

So when I hit enter, the phrase will come out: Mary had a little lamb whose
fleece was white as snow.

Does anybody know how to do this without resorting to using multiple cells
in a row?

Debra Dalgleish

Taking contents of a cell an inserting them into a phrase.
 
You can combine the cell references with text strings:

=A1 & " had a little " & B1 & ", whose fleece was white as " & C1

dnguyen411 wrote:
I'm creating a lookup table in Excel that list certain pieces of text I want
to add in a phrase. For example, let's say in Cells A1 - C1 I had "Mary",
"lamb", "snow."

In Cell D1, I want to write a phrase that will grab the contents of Cells A1
- C1 to form a sentance. In this example: "A1" had a little "B1", whose
fleece was white as "C1"

So when I hit enter, the phrase will come out: Mary had a little lamb whose
fleece was white as snow.

Does anybody know how to do this without resorting to using multiple cells
in a row?



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html



All times are GMT +1. The time now is 02:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com