Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Joining text


I have the following info:

A1-Hello
A2-this
A3-is
A4-a
A5-test

if I wanted to have B1= "Hello this is a test" how do I connect them?

Thank

--
sungen9
-----------------------------------------------------------------------
sungen99's Profile: http://www.excelforum.com/member.php...nfo&userid=914
View this thread: http://www.excelforum.com/showthread.php?threadid=27369

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Joining text

Hi
=A1 & " " & A2 & " " & A3 & " " & A4 & " " & A5

--
Regards
Frank Kabel
Frankfurt, Germany


sungen99 wrote:
I have the following info:

A1-Hello
A2-this
A3-is
A4-a
A5-test

if I wanted to have B1= "Hello this is a test" how do I connect

them?

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Joining text

In this example, in vba you would go either

Range("B1").Value = Range("A1").Value & " " & Range("A2").Value & ... and
so on.

The other way is directly in the formula bar
=A1&" "&A2&" "&A3&" "&A4&" "&A5

"sungen99" wrote:


I have the following info:

A1-Hello
A2-this
A3-is
A4-a
A5-test

if I wanted to have B1= "Hello this is a test" how do I connect them?

Thanks


--
sungen99
------------------------------------------------------------------------
sungen99's Profile: http://www.excelforum.com/member.php...fo&userid=9144
View this thread: http://www.excelforum.com/showthread...hreadid=273692


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
Create a formula by joining text and the value from a formula Jesper Audi Excel Worksheet Functions 3 February 25th 10 04:07 PM
Joining dates and text in formula RJS Excel Worksheet Functions 3 February 1st 07 05:36 PM
Joining text in one cell ca.ankitgarg Excel Worksheet Functions 5 January 25th 07 04:52 AM
JOINING OF TEXT & DATE SJ New Users to Excel 12 October 6th 06 11:44 PM
Joining text in multiple cells John Wilson Excel Programming 0 July 16th 03 07:45 PM


All times are GMT +1. The time now is 03:46 AM.

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"