Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
luvrama
 
Posts: n/a
Default formula for cell merging


Hi All,

I need know, whether there is any formula in excel, which will merge
two or more cell?

Can any one help me in this regard..

Thanks,
Rama.


--
luvrama
------------------------------------------------------------------------
luvrama's Profile: http://www.excelforum.com/member.php...o&userid=27578
View this thread: http://www.excelforum.com/showthread...hreadid=471017

  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Best:

=A1&B1

Or:

=CONCATENATE(A1,B1)

Biff

"luvrama" wrote in
message ...

Hi All,

I need know, whether there is any formula in excel, which will merge
two or more cell?

Can any one help me in this regard..

Thanks,
Rama.


--
luvrama
------------------------------------------------------------------------
luvrama's Profile:
http://www.excelforum.com/member.php...o&userid=27578
View this thread: http://www.excelforum.com/showthread...hreadid=471017



  #3   Report Post  
moondark
 
Posts: n/a
Default


You can automatically merge cells via macro, but as far as I know
there's no excel-formula.

just in case you need it,
the code for merging cells would be:


Code:
--------------------
RangeObject.Merge
--------------------

That was pretty easy, ain't it? Well, to anticipate the question "what
a rangeobject is": You can replace by expressions like:
Cells(1,1) for Cell A1
Range("A1:B2") for Cells A1 to B2
or Columns("A:A") for all Cells in col A
or Activesheet.Cells to merge the whole spreadsheet to one cell

There are way more expressions that return RangeObjects, but I think
you've got the idea. ;)

Regards,

Simon


--
moondark
------------------------------------------------------------------------
moondark's Profile: http://www.excelforum.com/member.php...o&userid=27390
View this thread: http://www.excelforum.com/showthread...hreadid=471017

  #4   Report Post  
Gord Dibben
 
Posts: n/a
Default

Rama

There is no formula that will "merge" cells but if you actually mean "combine
data from 2 or more cells into one cell"..........

=A1 & B1 & C1 entered in D1 will combine those three into D1.

If you wish to have a space between enter =A1 & " " & B1 etc.


Gord Dibben Excel MVP

On Tue, 27 Sep 2005 00:54:59 -0500, luvrama
wrote:


Hi All,

I need know, whether there is any formula in excel, which will merge
two or more cell?

Can any one help me in this regard..

Thanks,
Rama.


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
writing a formula for a colored value aaronwexler New Users to Excel 11 September 1st 05 03:11 PM
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
merging text without using a formula April Excel Discussion (Misc queries) 4 February 16th 05 01:07 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 04:27 AM.

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

About Us

"It's about Microsoft Excel"