Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Cell including text and multiple formulas?

Hi,

Is it possible to have a sentence in a cell (A1) that picks up values from
several cells elsewhere on the spreadsheet? E.g. A1 reads:

There was x dogs walking with y owners past z lamp posts.

Where x,y and z are values pulled from a seperate sheet within the
spreadsheet.
And the rest of the text is entered in cell A1


Many thanks,

James

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Cell including text and multiple formulas?

="There was " & A3 & " dogs walking with " & A2 & " owners past "&A1&" lamp
posts."

--
Gary''s Student - gsnu200847


"Shaggyjh" wrote:

Hi,

Is it possible to have a sentence in a cell (A1) that picks up values from
several cells elsewhere on the spreadsheet? E.g. A1 reads:

There was x dogs walking with y owners past z lamp posts.

Where x,y and z are values pulled from a seperate sheet within the
spreadsheet.
And the rest of the text is entered in cell A1


Many thanks,

James

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Cell including text and multiple formulas?

Hi,

Like this

="There was " &A1 & " dogs walking with " &A2 &" owners past " & A3 &" lamp
posts."

Wher A1, A2 & A3 contain some value

Mike

"Shaggyjh" wrote:

Hi,

Is it possible to have a sentence in a cell (A1) that picks up values from
several cells elsewhere on the spreadsheet? E.g. A1 reads:

There was x dogs walking with y owners past z lamp posts.

Where x,y and z are values pulled from a seperate sheet within the
spreadsheet.
And the rest of the text is entered in cell A1


Many thanks,

James

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Cell including text and multiple formulas?

That's exactly what i wanted. I tried all sorts with &'s but couldn't get it
to work.

Thanks a lot


"Mike H" wrote:

Hi,

Like this

="There was " &A1 & " dogs walking with " &A2 &" owners past " & A3 &" lamp
posts."

Wher A1, A2 & A3 contain some value

Mike

"Shaggyjh" wrote:

Hi,

Is it possible to have a sentence in a cell (A1) that picks up values from
several cells elsewhere on the spreadsheet? E.g. A1 reads:

There was x dogs walking with y owners past z lamp posts.

Where x,y and z are values pulled from a seperate sheet within the
spreadsheet.
And the rest of the text is entered in cell A1


Many thanks,

James

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Cell including text and multiple formulas?

Just to add...

If you need the values formatted nicely...

="there were " & a1 & " dogs walking on " & text(b1,"mm/dd/yyyy")
& " at " & text(c1,"hh:mm:ss") & "."

Same kind of thing with money, percentages, ...

Shaggyjh wrote:

Hi,

Is it possible to have a sentence in a cell (A1) that picks up values from
several cells elsewhere on the spreadsheet? E.g. A1 reads:

There was x dogs walking with y owners past z lamp posts.

Where x,y and z are values pulled from a seperate sheet within the
spreadsheet.
And the rest of the text is entered in cell A1

Many thanks,

James


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Including a Cell value into a Chart title with the Text? Bill Charts and Charting in Excel 3 April 19th 23 02:09 PM
How do I select numbers for a formula from a cell including text? Ed Excel Discussion (Misc queries) 1 March 31st 09 01:34 PM
count using multiple criteria including text strings se7098 Excel Worksheet Functions 13 November 10th 08 09:40 PM
Dynamic formulas including worksheet references lars22222 Excel Worksheet Functions 1 July 26th 05 02:33 PM
Multiple formulas including INDIRECT Gizmo Excel Worksheet Functions 4 December 21st 04 07:07 PM


All times are GMT +1. The time now is 08:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"